Fix kits frfr

Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
2025-12-20 21:58:44 +01:00
parent 975b2bb8e6
commit feac17d732
2 changed files with 3 additions and 2 deletions
@@ -182,7 +182,8 @@ public class GUI {
}
Kit prototype = Kit.getAvailableKits(Fight.getFightPlayer(p).isLeader()).get(0);
PersonalKit kit = PersonalKit.create(user.getId(), Config.GameModeConfig.Schematic.Type.toDB(), s, prototype.getInventory(), prototype.getArmor());
PersonalKitCreator.openKitCreator(p, kit);
p.closeInventory();
Bukkit.getScheduler().runTask(FightSystem.getPlugin(), () -> PersonalKitCreator.openKitCreator(p, kit));
});
anvilInv.open();
});