From 038d08a7aa53630176589e85142224442ac4f615 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 11 Nov 2019 00:15:22 +0100 Subject: [PATCH] Fixing 1.8 inventory bug --- FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java | 1 + 1 file changed, 1 insertion(+) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java b/FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java index 23fa397..c57b83d 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java @@ -35,5 +35,6 @@ public class Kit { public void loadToPlayer(Player player) { player.getInventory().setContents(inventory); + player.updateInventory(); } }