Fix NavWandBauGuiItem
Fix WorldEditBauGuiItem
Dieser Commit ist enthalten in:
Ursprung
b64d6cb29f
Commit
646b1c47d4
@ -52,6 +52,7 @@ public class NavWandBauGuiItem extends BauGuiItem {
|
|||||||
@Override
|
@Override
|
||||||
public boolean click(ClickType click, Player p) {
|
public boolean click(ClickType click, Player p) {
|
||||||
p.performCommand("/wand -n");
|
p.performCommand("/wand -n");
|
||||||
|
p.closeInventory();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -52,6 +52,7 @@ public class WorldEditBauGuiItem extends BauGuiItem {
|
|||||||
@Override
|
@Override
|
||||||
public boolean click(ClickType click, Player p) {
|
public boolean click(ClickType click, Player p) {
|
||||||
p.performCommand("/wand");
|
p.performCommand("/wand");
|
||||||
|
p.closeInventory();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren