diff --git a/src/main/java/ch/njol/skript/events/EvtExperienceSpawn.java b/src/main/java/ch/njol/skript/events/EvtExperienceSpawn.java index fc5aa44832d..08022a10d82 100644 --- a/src/main/java/ch/njol/skript/events/EvtExperienceSpawn.java +++ b/src/main/java/ch/njol/skript/events/EvtExperienceSpawn.java @@ -92,6 +92,7 @@ private static void registerExecutor() { return; for (final Class c : new Class[] {BlockExpEvent.class, EntityDeathEvent.class, ExpBottleEvent.class, PlayerFishEvent.class}) Bukkit.getPluginManager().registerEvent(c, new Listener() {}, SkriptConfig.defaultEventPriority.value(), executor, Skript.getInstance(), true); + registeredExecutor = true; } private final static EventExecutor executor = new EventExecutor() {