From 203a2f5fc7038aaad51d31ac9ae187a7df9b9082 Mon Sep 17 00:00:00 2001 From: Nicholas Ignoffo Date: Sat, 25 Feb 2017 17:59:10 -0800 Subject: [PATCH] Fix off by 1 letter in inventory serialization (#1072) --- src/main/java/WayofTime/bloodmagic/tile/TileInventory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/WayofTime/bloodmagic/tile/TileInventory.java b/src/main/java/WayofTime/bloodmagic/tile/TileInventory.java index e99970e5..acf47041 100644 --- a/src/main/java/WayofTime/bloodmagic/tile/TileInventory.java +++ b/src/main/java/WayofTime/bloodmagic/tile/TileInventory.java @@ -62,7 +62,7 @@ public class TileInventory extends TileBase implements IInventory if (j >= 0 && j < inventory.size()) { - inventory.set(i, new ItemStack(data)); + inventory.set(j, new ItemStack(data)); // No matter how much an i looks like a j, it is not one. They are drastically different characters and cause drastically different things to happen. Apparently I didn't know this at one point. - TehNut } } }