feat: 现在通过指令修改的货币也会触发事件了

This commit is contained in:
2024-04-24 13:38:56 +08:00
parent 487da47e42
commit 13b8a3ee73
3 changed files with 13 additions and 4 deletions

View File

@@ -50,4 +50,14 @@ public class CurrencyChangeEvent extends Event {
public HandlerList getHandlers() {
return handlerList;
}
@Override
public String toString() {
return "CurrencyChangeEvent{" +
"playerUUID=" + playerUUID +
", currencyID='" + currencyID + '\'' +
", oldAmount=" + oldAmount +
", newAmount=" + newAmount +
'}';
}
}