mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Java 16 optimisations
This commit is contained in:
1 parent
46dd32d5c2
commit
e1113efeac
23 files changed
+116
-173
No files matched your search
-1
@@ -7,7 +7,6 @@ import org.bukkit.entity.Player;
|
||||
* An event, fired when a player changes the description of a home.
|
||||
*/
|
||||
public class PlayerChangeHomeDescriptionEvent extends PlayerHomeUpdateEvent {
|
||||
|
||||
private final String oldDescription;
|
||||
private final String newDescription;
|
||||
|
||||
|
||||
-1
@@ -7,7 +7,6 @@ import org.bukkit.entity.Player;
|
||||
* An event, fired when a player changes the description of a warp.
|
||||
*/
|
||||
public class PlayerChangeWarpDescriptionEvent extends PlayerWarpUpdateEvent {
|
||||
|
||||
private final String oldDescription;
|
||||
private final String newDescription;
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ import org.bukkit.event.HandlerList;
|
||||
* Also fires when it is deleted
|
||||
*/
|
||||
public class PlayerHomeUpdateEvent extends Event {
|
||||
|
||||
private final Player player;
|
||||
private final Home home;
|
||||
private static final HandlerList HANDLER_LIST = new HandlerList();
|
||||
|
||||
@@ -8,7 +8,6 @@ import org.bukkit.entity.Player;
|
||||
* An event, fired when a player edits a Warp to change it's location
|
||||
*/
|
||||
public class PlayerRelocateHomeEvent extends PlayerHomeUpdateEvent {
|
||||
|
||||
private final TeleportationPoint oldTeleportationPoint;
|
||||
private final TeleportationPoint newTeleportationPoint;
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ import org.bukkit.entity.Player;
|
||||
* An event, fired when a player edits a Warp to change it's location
|
||||
*/
|
||||
public class PlayerRelocateWarpEvent extends PlayerWarpUpdateEvent {
|
||||
|
||||
private final TeleportationPoint oldTeleportationPoint;
|
||||
private final TeleportationPoint newTeleportationPoint;
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@ import org.bukkit.entity.Player;
|
||||
* An event, fired when a player renames a home
|
||||
*/
|
||||
public class PlayerRenameHomeEvent extends PlayerHomeUpdateEvent {
|
||||
|
||||
private final String oldName;
|
||||
private final String newName;
|
||||
|
||||
|
||||
Reference in new issue
Block a user