Fix some mistakes in the events

This commit is contained in:
GeorgH93 2021-07-22 22:05:19 +02:00
parent 26295902f9
commit c2904a3f6f
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
3 changed files with 6 additions and 6 deletions

View File

@ -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();

View File

@ -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();

View File

@ -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