Implemented a better synchronisation system for left hand item and projectile item, similar to main hand and armor items system for vanilla

This commit is contained in:
Goodbird committed 2023-12-08 09:47:18 +03:00
1 parent 8aa9d16d8e
commit 21c16e5341
5 files changed
+30 -2

No files matched your search

@@ -22,6 +22,7 @@ public class DataInventory implements IInventory {
public HashMap<Integer,ItemStack> items = new HashMap<Integer,ItemStack>();
public HashMap<Integer,Double> dropchance = new HashMap<Integer,Double>();
public HashMap<Integer,ItemStack> weapons = new HashMap<Integer, ItemStack>();
public HashMap<Integer,ItemStack> prevWeapons = new HashMap<Integer, ItemStack>();
public HashMap<Integer,ItemStack> armor = new HashMap<Integer, ItemStack>();
public int minExp = 0;