diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/EffectMasterHandler.java b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/EffectMasterHandler.java index abfcb66ebc661e7234dfa1dd25ba7cde3b355453..ea5ed04a606dfc6a46f169d30dea6c37c3eac925 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/EffectMasterHandler.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/EffectMasterHandler.java @@ -241,13 +241,13 @@ public final class EffectMasterHandler for (Class<?> c : _effects) { + if (c == null) + { + continue; // Disabled handler + } + try { - if (c == null) - { - continue; // Disabled handler - } - if (method == null) { method = loadInstance.getClass().getMethod("registerHandler", Class.class); diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/MasterHandler.java b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/MasterHandler.java index d5615d0a5dc7ca4a805a2c5e2523ab5c256a46da..efa46d9f80d60d5de8b23251d783bd58f2952d5d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/MasterHandler.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/MasterHandler.java @@ -660,12 +660,13 @@ public class MasterHandler for (Class<?> c : _handlers[i]) { + if (c == null) + { + continue; // Disabled handler + } + try { - if (c == null) - { - continue; // Disabled handler - } // Don't wtf some classes extending another like ItemHandler, Elixir, etc.. and we need to find where the hell is interface xD interfaces = c.getInterfaces().length > 0 ? // Standardly handler has implementation c.getInterfaces() : c.getSuperclass().getInterfaces().length > 0 ? // No? then it extends another handler like (ItemSkills->ItemSkillsTemplate)