diff --git a/src/main/java/org/squiddev/cctweaks/core/asm/ASMTransformer.java b/src/main/java/org/squiddev/cctweaks/core/asm/ASMTransformer.java index b12aef21..f5c01518 100644 --- a/src/main/java/org/squiddev/cctweaks/core/asm/ASMTransformer.java +++ b/src/main/java/org/squiddev/cctweaks/core/asm/ASMTransformer.java @@ -26,7 +26,7 @@ public class ASMTransformer implements IClassTransformer { private final CustomChain patches = new CustomChain(); - protected void add(Object[] patchers) { + private void add(Object[] patchers) { for (Object patcher : patchers) { if (patcher instanceof IPatcher) patches.add((IPatcher) patcher); if (patcher instanceof ISource) patches.add((ISource) patcher); @@ -266,8 +266,7 @@ public void dump(String className, byte[] bytes) { DebugLogger.debug("Dump for " + className + "\n" + writer.toString()); } - public void writeDump(String className, byte[] bytes) { - + private void writeDump(String className, byte[] bytes) { if (className.endsWith("TurtlePlaceCommand")) { StringWriter writer = new StringWriter(); PrintWriter printWriter = new PrintWriter(writer); diff --git a/src/main/java/org/squiddev/cctweaks/core/patch/ServerComputer_Patch.java b/src/main/java/org/squiddev/cctweaks/core/patch/ServerComputer_Patch.java index fe909030..2069d257 100644 --- a/src/main/java/org/squiddev/cctweaks/core/patch/ServerComputer_Patch.java +++ b/src/main/java/org/squiddev/cctweaks/core/patch/ServerComputer_Patch.java @@ -41,12 +41,12 @@ from = { "org/squiddev/cctweaks/lua/patch/Computer_Patch", "org/squiddev/cctweaks/lua/patch/ComputerThread_Rewrite", - "org/squiddev/cctweaks/core/patch/Terminal_Patch", + "org/squiddev/cctweaks/core/patch/Terminal_Patch" }, to = { "dan200/computercraft/core/computer/Computer", "dan200/computercraft/core/computer/ComputerThread", - "dan200/computercraft/core/terminal/Terminal", + "dan200/computercraft/core/terminal/Terminal" } ) public class ServerComputer_Patch extends ServerComputer implements IComputerEnvironmentExtended, IExtendedServerComputer { diff --git a/src/main/java/org/squiddev/cctweaks/core/registry/Registry.java b/src/main/java/org/squiddev/cctweaks/core/registry/Registry.java index 996c5f03..4ef511d8 100644 --- a/src/main/java/org/squiddev/cctweaks/core/registry/Registry.java +++ b/src/main/java/org/squiddev/cctweaks/core/registry/Registry.java @@ -89,7 +89,7 @@ public void init() { addModule(new RenderSquidOverlay()); } - public static void addModule(IModule module) { + private static void addModule(IModule module) { if (module instanceof IClientModule) { module = new RegisterWrapperClient((IClientModule) module); }