Fix CustomCommandListener
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
359cec00c1
Commit
4654c58965
@ -298,6 +298,7 @@ public class CustomCommandListener implements Listener {
|
|||||||
if (!save(p)) {
|
if (!save(p)) {
|
||||||
playerMap.get(p).removeIf(customCommand -> customCommand == menuCommand);
|
playerMap.get(p).removeIf(customCommand -> customCommand == menuCommand);
|
||||||
p.closeInventory();
|
p.closeInventory();
|
||||||
|
SWUtils.giveItemToPlayer(p, p.getItemOnCursor());
|
||||||
save(p);
|
save(p);
|
||||||
p.sendMessage("§cScript CMD-Buch Limit erreicht");
|
p.sendMessage("§cScript CMD-Buch Limit erreicht");
|
||||||
return;
|
return;
|
||||||
|
@ -129,7 +129,7 @@
|
|||||||
sizeX(115)
|
sizeX(115)
|
||||||
sizeY(45)
|
sizeY(45)
|
||||||
sizeZ(65)
|
sizeZ(65)
|
||||||
offsetX(6)
|
offsetX(3)
|
||||||
offsetY(10)
|
offsetY(10)
|
||||||
offsetZ(6)
|
offsetZ(6)
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren