[Bleeding] Changed event system into a new, much faster design. Huge thanks to @zml2008 & @lahwran.
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package org.bukkit.event;
|
||||
|
||||
/**
|
||||
* A transitional class to avoid breaking plugins using custom events.
|
||||
*/
|
||||
@Deprecated
|
||||
public class TransitionalCustomEvent extends Event {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
@Override
|
||||
public HandlerList getHandlers() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
public static HandlerList getHandlerList() {
|
||||
return handlers;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user