Compatibility with upcoming CB 1.1-R5 and above: updated Enderman block monitors to use EntityChangeBlockEvent, removed register event convenience methods from MPlugin (no longer working or needed)
Updated Bukkit lib to newest dev version
This commit is contained in:
@ -110,20 +110,6 @@ public abstract class MPlugin extends JavaPlugin
|
||||
this.getServer().getPluginManager().disablePlugin(this);
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
// Register Event convenience method
|
||||
// -------------------------------------------- //
|
||||
|
||||
public void registerEvent(Event.Type type, Listener listener, Event.Priority priority)
|
||||
{
|
||||
Bukkit.getServer().getPluginManager().registerEvent(type, listener, priority, this);
|
||||
}
|
||||
|
||||
public void registerEvent(Event.Type type, Listener listener)
|
||||
{
|
||||
registerEvent(type, listener, Event.Priority.Normal);
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
// Some inits...
|
||||
// You are supposed to override these in the plugin if you aren't satisfied with the defaults
|
||||
|
Reference in New Issue
Block a user