From 30ac6076f294f97791f98497a4d0c1eea85a7a7c Mon Sep 17 00:00:00 2001 From: Infinityy <120841985+Inf1nityy@users.noreply.github.com> Date: Wed, 21 Aug 2024 18:33:38 +0200 Subject: [PATCH] fix pot ffa kit loading --- src/main/java/com/nexia/ffa/base/BaseFfaUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/nexia/ffa/base/BaseFfaUtil.java b/src/main/java/com/nexia/ffa/base/BaseFfaUtil.java index 91d183e4..0e00b22c 100644 --- a/src/main/java/com/nexia/ffa/base/BaseFfaUtil.java +++ b/src/main/java/com/nexia/ffa/base/BaseFfaUtil.java @@ -254,7 +254,7 @@ public void setInventory(NexiaPlayer player){ } if(layout != null) { - InventoryMerger.mergeSafe(player.unwrap(), layout.asPlayerInventory(), defaultInventory.asPlayerInventory()); + player.unwrap().inventory.replaceWith(layout.asPlayerInventory()); } else { player.unwrap().inventory.replaceWith(defaultInventory.asPlayerInventory()); }