make final

This commit is contained in:
Len 2022-07-09 15:50:12 +02:00
parent bd18051816
commit d3dc82cf7e
3 changed files with 6 additions and 6 deletions

View File

@ -10,8 +10,8 @@ import org.jetbrains.annotations.NotNull;
public class PlayerDestroyShopEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private Player player;
private Shop shop;
private final Player player;
private final Shop shop;
private boolean cancelled;
public PlayerDestroyShopEvent(Player p, Shop s) {

View File

@ -10,8 +10,8 @@ import org.jetbrains.annotations.NotNull;
public class PlayerExchangeShopEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private Player player;
private Shop shop;
private final Player player;
private final Shop shop;
private boolean cancelled;
public PlayerExchangeShopEvent(Player p, Shop s) {

View File

@ -10,8 +10,8 @@ import org.jetbrains.annotations.NotNull;
public class PlayerInitializeShopEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private Player player;
private Shop shop;
private final Player player;
private final Shop shop;
private boolean cancelled;
public PlayerInitializeShopEvent(Player p, Shop s) {