I somehow managed to replace all occurences of 'block' and 'item' in strings through 'prefix'. goddamn refactor.

This commit is contained in:
Bernhard Bonigl committed 2014-08-08 19:23:03 +02:00
1 parent 46cbf3be6a
commit cd10ed0205
10 files changed
+16 -18

No files matched your search

@@ -123,7 +123,7 @@ public class ModPartReplacement extends ItemModifier {
ToolRecipe recipe = findRecipe(tool);
NBTTagCompound tags = itemStack.getTagCompound().getCompoundTag("InfiTool");
// get prefix
// get item
Item replacementPartItem = null;
int partIndex = -1;
for(int i = 0; i < parts.length; i++) {