Skip to content

Commit d5e36f5

Browse files
authored
Fix for 1.13 on /js refresh()
1 parent 8b51650 commit d5e36f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/js/lib/scriptcraft.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ function __onEnable(__engine, __plugin, __script) {
575575
Canary.manager().enablePlugin(pluginName);
576576
} else {
577577
__plugin.pluginLoader.disablePlugin(__plugin);
578-
org.bukkit.event.HandlerList.unregisterAll(__plugin);
578+
org.bukkit.event.HandlerList['unregisterAll(org.bukkit.plugin.Plugin)'](__plugin);
579579
server.scheduler.cancelTasks(__plugin);
580580
__plugin.pluginLoader.enablePlugin(__plugin);
581581
}

0 commit comments

Comments
 (0)