Skip to content

Commit

Permalink
Update 2019-9-15 22:22
Browse files Browse the repository at this point in the history
  • Loading branch information
WinfXK committed Sep 15, 2019
1 parent 1d84c68 commit 414e8ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Knickers/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Knickers
main: xiaokai.knickers.Knickers
api:
- 1.0.0
version: 2.1.3
version: 2.1.4
load: POSTWORLD
website: http://Winfxk.EpicFX.cn
description: 多功能菜单,如传送、命令、提示等功能,并且支持自定义快捷菜单,将一个菜单装进物品内!后期还会加入更多功能哦!
Expand Down
4 changes: 2 additions & 2 deletions Knickers/src/xiaokai/knickers/form/OpenButton.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public OpenButton(Kick k, Player p, File f, String s) {
*/
public boolean isSB(Player player) {
if (Kick.isAdmin(player))
return true;
return false;
int k = Tool.ObjectToInt(Item.get("FilteredModel"), 0);
Object obj = Item.get("FilteredPlayer");
List<String> Players = obj != null && (obj instanceof List) ? (ArrayList<String>) obj : new ArrayList<>();
Expand All @@ -92,7 +92,7 @@ public boolean isSB(Player player) {
*/
public boolean isLevelSB(Player player) {
if (Kick.isAdmin(player))
return true;
return false;
int k = Tool.ObjectToInt(Item.get("LevelFilteredModel"), 0);
Object obj = Item.get("LevelList");
List<String> Players = obj != null && (obj instanceof List) ? (ArrayList<String>) obj : new ArrayList<>();
Expand Down
Binary file added Knickers_v2.1.4.jar
Binary file not shown.

0 comments on commit 414e8ec

Please sign in to comment.