mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
[1.11] Fix initCapabilities for ItemStacks (#3379)
This commit is contained in:
1 parent
cc48280a8b
commit
e498dc7532
3 files changed
+53
-22
No files matched your search
+1
-1
@@ -81,7 +81,7 @@ public class ItemStackTransformer implements IClassTransformer {
|
||||
|
||||
for (MethodNode m: classNode.methods)
|
||||
{
|
||||
if (m.name.equals("func_190923_F") || m.name.equals("func_190926_b")) continue;
|
||||
if (m.name.equals("forgeInit") || m.name.equals("func_190926_b")) continue;
|
||||
for (ListIterator<AbstractInsnNode> it = m.instructions.iterator(); it.hasNext(); )
|
||||
{
|
||||
AbstractInsnNode insnNode = it.next();
|
||||
|
||||
Reference in new issue
Block a user