Total Complexity | 1 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | package net.labymod.serverapi.bukkit.event; |
||
15 | @AllArgsConstructor |
||
16 | @Getter |
||
17 | public class MessageSendEvent extends Event implements Cancellable { |
||
18 | |||
19 | @Getter |
||
20 | private final static HandlerList handlerList = new HandlerList(); |
||
21 | |||
22 | private Player player; |
||
23 | private String messageKey; |
||
24 | private JsonElement jsonElement; |
||
25 | @Setter |
||
26 | private boolean cancelled; |
||
27 | |||
28 | @Override |
||
29 | public HandlerList getHandlers() { |
||
30 | return handlerList; |
||
31 | } |
||
34 |