From 0dd5e53739b3c0352010234b5fe89a8200d5432b Mon Sep 17 00:00:00 2001 From: Joe12o Date: Tue, 4 Feb 2014 21:10:48 -0500 Subject: [PATCH] Don't ignore items with a blacklist. --- .../skcraft/alicefixes/transformers/ClassTransformer.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/skcraft/alicefixes/transformers/ClassTransformer.java b/src/main/java/com/skcraft/alicefixes/transformers/ClassTransformer.java index 250cb0d..1a87eae 100644 --- a/src/main/java/com/skcraft/alicefixes/transformers/ClassTransformer.java +++ b/src/main/java/com/skcraft/alicefixes/transformers/ClassTransformer.java @@ -72,16 +72,14 @@ public ToolMethodVisitor(MethodVisitor mv, List vars, JsonHelperObject patch) { @Override public void visitCode() { - if(!patch.blacklist) { + if(!patch.tileEntity) { if(vars.size() == 1) { ASMHelper.injectCode(mv, vars.get(0), patch.returnType); } else if(vars.size() == 4) { ASMHelper.injectCode(mv, vars.get(0), vars.get(1), vars.get(2), vars.get(3), patch.returnType); } } else { - if(patch.tileEntity && patch.blacklist) { - ASMHelper.injectCode(mv, patch.className, patch.facingVar, patch.varType, patch.returnType); - } + ASMHelper.injectCode(mv, patch.className, patch.facingVar, patch.varType, patch.returnType); } } }