mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Finish up refactoring, start fixing
This commit is contained in:
1 parent
a63f1a77ad
commit
cc90d5f15d
36 files changed
+520
-556
No files matched your search
@@ -9,7 +9,7 @@ import org.bukkit.event.HandlerList;
|
||||
/**
|
||||
* An event, fired when a player sets a new warp
|
||||
*/
|
||||
public class PlayerSetWarpEvent extends Event implements Cancellable {
|
||||
public class PlayerSetWarpEvent extends Event {
|
||||
|
||||
private final Player player;
|
||||
private final Warp warp;
|
||||
@@ -28,16 +28,6 @@ public class PlayerSetWarpEvent extends Event implements Cancellable {
|
||||
this.isCancelled = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return isCancelled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCancelled(boolean cancelled) {
|
||||
this.isCancelled = cancelled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public HandlerList getHandlers() {
|
||||
return HANDLER_LIST;
|
||||
|
||||
Reference in new issue
Block a user