Update mappings to 09/21 snapshots.

Conflict with getMatrix in ITransformation, so renamed to getMatrixVec.
This commit is contained in:
LexManos committed 2018-09-22 03:40:22 -07:00
1 parent 5ed03945a0
commit 94e1a8e0a4
210 files changed
+1052 -978

No files matched your search

@@ -50,8 +50,8 @@ public class CapabilityItemHandler
if (!stack.isEmpty())
{
NBTTagCompound itemTag = new NBTTagCompound();
itemTag.setInteger("Slot", i);
stack.writeToNBT(itemTag);
itemTag.setInt("Slot", i);
stack.write(itemTag);
nbtTagList.add(itemTag);
}
}
@@ -67,12 +67,12 @@ public class CapabilityItemHandler
NBTTagList tagList = (NBTTagList) base;
for (int i = 0; i < tagList.size(); i++)
{
NBTTagCompound itemTags = tagList.getCompoundTagAt(i);
int j = itemTags.getInteger("Slot");
NBTTagCompound itemTags = tagList.getCompound(i);
int j = itemTags.getInt("Slot");
if (j >= 0 && j < instance.getSlots())
{
itemHandlerModifiable.setStackInSlot(j, ItemStack.func_199557_a(itemTags));
itemHandlerModifiable.setStackInSlot(j, ItemStack.read(itemTags));
}
}
}