Add Multi Personal Kits #228
@ -108,7 +108,7 @@ public class PersonalKitCreator extends BasicListener {
|
|||||||
conf.setItem(0, SWItem.getDye(10), "§aLöschen", click -> {
|
conf.setItem(0, SWItem.getDye(10), "§aLöschen", click -> {
|
||||||
|
|||||||
player.closeInventory();
|
player.closeInventory();
|
||||||
if(kit.isInUse()) {
|
if(kit.isInUse()) {
|
||||||
PersonalKit.get(SteamwarUser.get(player.getUniqueId()).getId(), Config.SchematicType.toDB());
|
useKit(player, PersonalKit.get(SteamwarUser.get(player.getUniqueId()).getId(), Config.SchematicType.toDB()).get(0));
|
||||||
}
|
}
|
||||||
kit.delete();
|
kit.delete();
|
||||||
});
|
});
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren
Kit wirklich löchen?