Clear inventory in addInvItems
This commit is contained in:
@@ -223,6 +223,7 @@ public class Inventories implements Listener {
|
||||
}
|
||||
|
||||
public static void addInvItems(Player P) {
|
||||
P.getInventory().clear();
|
||||
for (Entry<String, Integer> item : itemPositions.entrySet()) {
|
||||
P.getInventory().setItem(item.getValue(), getItem(item.getKey(), P));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user