diff --git a/sku.0/sys.server/compiled/game/script/library/community_crafting.java b/sku.0/sys.server/compiled/game/script/library/community_crafting.java old mode 100644 new mode 100755 index 0b89bd66c..83433120f --- a/sku.0/sys.server/compiled/game/script/library/community_crafting.java +++ b/sku.0/sys.server/compiled/game/script/library/community_crafting.java @@ -1625,10 +1625,10 @@ public class community_crafting extends script.base_script { try { - method = cls.getDeclaredMethod(FUNCTION_NAME, null); + method = cls.getDeclaredMethod(FUNCTION_NAME); if (method != null) { - if (method.isAccessible() == false) + if (!method.isAccessible()) { method.setAccessible(true); } @@ -1638,7 +1638,7 @@ public class community_crafting extends script.base_script { method = script_class_loader.NO_METHOD; } - if (method != null && methods != null) + if (method != null) { methods.put(method, method); } diff --git a/sku.0/sys.server/compiled/game/script/script_entry.java b/sku.0/sys.server/compiled/game/script/script_entry.java old mode 100644 new mode 100755 index 4128096d9..abea194af --- a/sku.0/sys.server/compiled/game/script/script_entry.java +++ b/sku.0/sys.server/compiled/game/script/script_entry.java @@ -391,7 +391,7 @@ public class script_entry { if (params == null) { - meth = cls.getDeclaredMethod(method, null); + meth = cls.getDeclaredMethod(method); } else { @@ -1033,7 +1033,7 @@ public class script_entry Method meth = null; if (params == null) { - meth = cls.getDeclaredMethod(method, null); + meth = cls.getDeclaredMethod(method); } else {