mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-04 05:25:28 +02:00
Misc code fixes
This commit is contained in:
@@ -7,8 +7,8 @@ import org.bukkit.plugin.Plugin;
|
||||
|
||||
public abstract class McMMOChatEvent extends Event implements Cancellable {
|
||||
private boolean cancelled;
|
||||
private Plugin plugin;
|
||||
private String sender;
|
||||
private final Plugin plugin;
|
||||
private final String sender;
|
||||
private String displayName;
|
||||
private String message;
|
||||
|
||||
|
@@ -6,7 +6,7 @@ import org.bukkit.plugin.Plugin;
|
||||
* Called when a chat is sent to a party channel
|
||||
*/
|
||||
public class McMMOPartyChatEvent extends McMMOChatEvent {
|
||||
private String party;
|
||||
private final String party;
|
||||
|
||||
public McMMOPartyChatEvent(Plugin plugin, String sender, String displayName, String party, String message) {
|
||||
super(plugin, sender, displayName, message);
|
||||
|
Reference in New Issue
Block a user