mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-12-04 14:03:24 +01:00
Fix some mistakes in the events
This commit is contained in:
parent
26295902f9
commit
c2904a3f6f
@ -34,14 +34,14 @@ public class InventoryClearEvent extends Event implements Cancellable
|
||||
@Getter @Setter private boolean cancelled = false;
|
||||
|
||||
/**
|
||||
* The player who's inventory should be cleared.
|
||||
* The player whose inventory should be cleared.
|
||||
*/
|
||||
@Getter final private Player player;
|
||||
|
||||
/**
|
||||
* The command sender who has requested the inventory to be cleared.
|
||||
*/
|
||||
@Getter final private CommandSender sender;
|
||||
@Getter private final CommandSender sender;
|
||||
|
||||
// Bukkit handler stuff
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
@ -30,14 +30,14 @@
|
||||
public class InventoryClearedEvent extends Event
|
||||
{
|
||||
/**
|
||||
* The player who's inventory has been cleared.
|
||||
* The player whose inventory has been cleared.
|
||||
*/
|
||||
@Getter final private Player player;
|
||||
@Getter private final Player player;
|
||||
|
||||
/**
|
||||
* The command sender who has requested the inventory to be cleared.
|
||||
*/
|
||||
@Getter final private CommandSender sender;
|
||||
@Getter private final CommandSender sender;
|
||||
|
||||
// Bukkit handler stuff
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
@ -28,7 +28,7 @@
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* Event is fired when a player joins the server and all of it's data have been loaded successful.
|
||||
* Event is fired when a player joins the server and all of its data have been loaded successful.
|
||||
*/
|
||||
@AllArgsConstructor
|
||||
public class MinepacksPlayerJoinEvent extends Event
|
||||
|
Loading…
Reference in New Issue
Block a user