mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 23:25:07 +00:00
Fixed NBT issue with the new quest kill amounts.
This commit is contained in:
1 parent
f876f13d77
commit
fcaafe4b26
2 files changed
+17
-7
No files matched your search
@@ -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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user