Fix AutoStartGuiItem and RedstoneTesterGuiItem
Dieser Commit ist enthalten in:
Ursprung
afffcc7fd8
Commit
19cf2207ff
@ -45,8 +45,9 @@ public class AutoStartGuiItem extends GuiItem {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean click(ClickType click, Player p) {
|
public boolean click(ClickType click, Player p) {
|
||||||
|
p.closeInventory();
|
||||||
p.performCommand("timer");
|
p.performCommand("timer");
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -46,8 +46,9 @@ public class RedstoneTesterGuiItem extends GuiItem {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean click(ClickType click, Player p) {
|
public boolean click(ClickType click, Player p) {
|
||||||
|
p.closeInventory();
|
||||||
p.performCommand("redstonetester");
|
p.performCommand("redstonetester");
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren