--- miscJava/bukkit-minecraft-plugins/CreativeWorld/src/dk/thoerup/bukkit/creativeworld/CreativeMain.java 2012/01/25 21:55:33 1680 +++ miscJava/bukkit-minecraft-plugins/CreativeWorld/src/dk/thoerup/bukkit/creativeworld/CreativeMain.java 2012/01/25 22:03:19 1681 @@ -12,8 +12,6 @@ import org.bukkit.configuration.*; import org.bukkit.configuration.file.*; -import org.bukkit.event.Event; -import org.bukkit.event.Event.Priority; @@ -55,7 +53,7 @@ PluginManager pm = getServer().getPluginManager(); - pm.registerEvent(Event.Type.PLAYER_CHANGED_WORLD, worldChanged, Priority.Normal, this); + pm.registerEvents(worldChanged, this); }