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); } } }