1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-06-20 07:51:25 +02:00

Changed our custom chat events to be async

This commit is contained in:
GJ 2013-02-23 21:29:15 -05:00
parent 20970e430c
commit 9759224690
2 changed files with 2 additions and 0 deletions
Changelog.txt
src/main/java/com/gmail/nossr50/events/chat

@ -73,6 +73,7 @@ Version 1.4.00-dev
= Fixed a bug where a new party leader wasn't appointed, after the previous party leader left = Fixed a bug where a new party leader wasn't appointed, after the previous party leader left
= Fixed a bug where Disarm and Deflect had wrong values = Fixed a bug where Disarm and Deflect had wrong values
= Fixed Magic Hunter (Fishing ability) favoring certain enchants = Fixed Magic Hunter (Fishing ability) favoring certain enchants
! Changed our custom chat events to be async
! Changed some config value key names regarding double drops and XP - make sure you copy any custom values to your new config after updating. ! Changed some config value key names regarding double drops and XP - make sure you copy any custom values to your new config after updating.
! Changed Green Terra blocks to be determined via permissions instead of the config file ! Changed Green Terra blocks to be determined via permissions instead of the config file
! Config files are now backed up even when running in SQL mode ! Config files are now backed up even when running in SQL mode

@ -13,6 +13,7 @@ public abstract class McMMOChatEvent extends Event implements Cancellable {
private String message; private String message;
protected McMMOChatEvent(Plugin plugin, String sender, String displayName, String message) { protected McMMOChatEvent(Plugin plugin, String sender, String displayName, String message) {
super(true);
this.plugin = plugin; this.plugin = plugin;
this.sender = sender; this.sender = sender;
this.displayName = displayName; this.displayName = displayName;