mirror of
https://github.com/GTNewHorizons/IguanaTweaksTConstruct.git
synced 2026-11-27 23:33:06 +00:00
I somehow managed to replace all occurences of 'block' and 'item' in strings through 'prefix'. goddamn refactor.
This commit is contained in:
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++) {
|
||||
|
||||
Reference in new issue
Block a user