diff --git a/patches/minecraft/net/minecraft/world/storage/loot/LootEntry.java.patch b/patches/minecraft/net/minecraft/world/storage/loot/LootEntry.java.patch index 5bd7392dc3..cc2efb1f14 100644 --- a/patches/minecraft/net/minecraft/world/storage/loot/LootEntry.java.patch +++ b/patches/minecraft/net/minecraft/world/storage/loot/LootEntry.java.patch @@ -47,7 +47,7 @@ jsonobject.addProperty("weight", (Number)Integer.valueOf(p_serialize_1_.field_186364_c)); jsonobject.addProperty("quality", (Number)Integer.valueOf(p_serialize_1_.field_186365_d)); -@@ -86,6 +95,9 @@ +@@ -86,13 +95,16 @@ jsonobject.add("conditions", p_serialize_3_.serialize(p_serialize_1_.field_186366_e)); } @@ -57,3 +57,11 @@ if (p_serialize_1_ instanceof LootEntryItem) { jsonobject.addProperty("type", "item"); + } + else if (p_serialize_1_ instanceof LootEntryTable) + { +- jsonobject.addProperty("type", "item"); ++ jsonobject.addProperty("type", "loot_table"); //Forge: fix incorrect serialization MC-115407 + } + else + {