256257258259260261262263264265266
getCommand("skript").setExecutor(new SkriptCommand()); new JavaClasses(); new BukkitClasses(); new BukkitEventValues(); new SkriptClasses(); new DefaultComparators(); new DefaultConverters(); new DefaultFunctions();
115116117118119120121122123124125
Skript.getAddonInstance().loadClasses("ch.njol.skript", "entity"); new JavaClasses(); new BukkitClasses(); new BukkitEventValues(); new SkriptClasses(); final Field r = Skript.class.getDeclaredField("acceptRegistrations"); r.setAccessible(true); r.set(null, false); Classes.onRegistrationsStop();