Fixed NBT issue with the new quest kill amounts.

This commit is contained in:
luisc committed 2022-01-27 06:14:03 -06:00
1 parent f876f13d77
commit fcaafe4b26
2 files changed
+17 -7

No files matched your search

+2 -1
View File
@@ -56,8 +56,9 @@ public class DataInventory implements IInventory{
for(int i = 0; i < oldDropChance.entrySet().size(); i++){
dropchance.put(i, Double.valueOf(oldDropChance.get(i)));
}
} else {
dropchance = NBTTags.getIntegerDoubleMap(nbttagcompound.getTagList("DoubleDropChance", 10));
}
dropchance = NBTTags.getIntegerDoubleMap(nbttagcompound.getTagList("DoubleDropChance", 10));
lootMode = nbttagcompound.getInteger("LootMode");
}