Gets rid of the rest of the modX and modY usages, and removes some unused code
This commit is contained in:
@ -8,6 +8,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
/**
|
||||
* This event should be called whenever a player opens a stargate
|
||||
*/
|
||||
@SuppressWarnings({"unused"})
|
||||
public class StargateOpenEvent extends StargatePlayerEvent {
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
@ -6,6 +6,7 @@ import org.bukkit.entity.Player;
|
||||
/**
|
||||
* An abstract event describing any stargate event where a player is involved
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public abstract class StargatePlayerEvent extends StargateEvent {
|
||||
|
||||
private final Player player;
|
||||
|
@ -41,9 +41,9 @@ public class StargatePortalEvent extends StargatePlayerEvent {
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the destination gate
|
||||
* Return the destination portal
|
||||
*
|
||||
* @return destination gate
|
||||
* @return <p>The destination portal</p>
|
||||
*/
|
||||
public Portal getDestination() {
|
||||
return destination;
|
||||
@ -52,14 +52,14 @@ public class StargatePortalEvent extends StargatePlayerEvent {
|
||||
/**
|
||||
* Return the location of the players exit point
|
||||
*
|
||||
* @return org.bukkit.Location Location of the exit point
|
||||
* @return <p>Location of the exit point</p>
|
||||
*/
|
||||
public Location getExit() {
|
||||
return exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the location of the players exit point
|
||||
* Set the location of the player's exit point
|
||||
*/
|
||||
public void setExit(Location loc) {
|
||||
this.exit = loc;
|
||||
|
Reference in New Issue
Block a user