/[projects]/miscJava/bukkit-minecraft-plugins/CreativeWorld/src/dk/thoerup/bukkit/creativeworld/CreativeMain.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/CreativeWorld/src/dk/thoerup/bukkit/creativeworld/CreativeMain.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1680 by torben, Sat Dec 10 19:33:19 2011 UTC revision 1681 by torben, Wed Jan 25 22:03:19 2012 UTC
# Line 12  import org.bukkit.plugin.*; Line 12  import org.bukkit.plugin.*;
12  import org.bukkit.configuration.*;  import org.bukkit.configuration.*;
13  import org.bukkit.configuration.file.*;  import org.bukkit.configuration.file.*;
14    
 import org.bukkit.event.Event;  
 import org.bukkit.event.Event.Priority;  
15    
16    
17    
# Line 55  public class CreativeMain extends JavaPl Line 53  public class CreativeMain extends JavaPl
53    
54    
55                  PluginManager pm = getServer().getPluginManager();                  PluginManager pm = getServer().getPluginManager();
56                  pm.registerEvent(Event.Type.PLAYER_CHANGED_WORLD, worldChanged, Priority.Normal, this);                  pm.registerEvents(worldChanged, this);
57    
58    
59          }          }

Legend:
Removed from v.1680  
changed lines
  Added in v.1681

  ViewVC Help
Powered by ViewVC 1.1.20