Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
4f003bb910
Commit
faab60aad2
@ -139,7 +139,7 @@ public class GUI {
|
|||||||
anvilInv.setItem(Material.LEATHER_CHESTPLATE);
|
anvilInv.setItem(Material.LEATHER_CHESTPLATE);
|
||||||
anvilInv.setCallback(s -> {
|
anvilInv.setCallback(s -> {
|
||||||
SteamwarUser user = SteamwarUser.get(p.getUniqueId());
|
SteamwarUser user = SteamwarUser.get(p.getUniqueId());
|
||||||
if(PersonalKit.get(user.getId(), Config.SchematicType.toDB(), s).isInUse()) {
|
if(PersonalKit.get(user.getId(), Config.SchematicType.toDB(), s) != null) {
|
||||||
msg.sendPrefixless("KITNAME_IN_USE", p, ChatMessageType.ACTION_BAR);
|
msg.sendPrefixless("KITNAME_IN_USE", p, ChatMessageType.ACTION_BAR);
|
||||||
p.closeInventory();
|
p.closeInventory();
|
||||||
return;
|
return;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren