更新
This commit is contained in:
@@ -17,6 +17,7 @@ public class DefaultEvent extends Event {
|
||||
return this.player;
|
||||
}
|
||||
|
||||
@Override
|
||||
public HandlerList getHandlers() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,8 @@ public class DefaultEvent2 extends PlayerEvent
|
||||
return DefaultEvent2.handlers;
|
||||
}
|
||||
|
||||
public HandlerList getHandlers() {
|
||||
@Override
|
||||
public HandlerList getHandlers() {
|
||||
return DefaultEvent2.handlers;
|
||||
}
|
||||
|
||||
@@ -34,11 +35,13 @@ public class DefaultEvent2 extends PlayerEvent
|
||||
this.cancelled = false;
|
||||
}
|
||||
|
||||
public boolean isCancelled() {
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return this.cancelled;
|
||||
}
|
||||
|
||||
public void setCancelled(final boolean cancelled) {
|
||||
@Override
|
||||
public void setCancelled(final boolean cancelled) {
|
||||
this.cancelled = cancelled;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,17 +24,20 @@ public class PlayerJumpEvent
|
||||
return this.player;
|
||||
}
|
||||
|
||||
public boolean isCancelled()
|
||||
@Override
|
||||
public boolean isCancelled()
|
||||
{
|
||||
return this.isCancelled;
|
||||
}
|
||||
|
||||
public void setCancelled(boolean e)
|
||||
@Override
|
||||
public void setCancelled(boolean e)
|
||||
{
|
||||
this.isCancelled = e;
|
||||
}
|
||||
|
||||
public HandlerList getHandlers()
|
||||
@Override
|
||||
public HandlerList getHandlers()
|
||||
{
|
||||
return handlers;
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@ public class PlayerLoadedEvent extends Event {
|
||||
return this.player;
|
||||
}
|
||||
|
||||
@Override
|
||||
public HandlerList getHandlers() {
|
||||
return handlers;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user