mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-30 01:13:38 +01:00
TEST BUILD - Will print test information on level up triggers
This commit is contained in:
parent
1666607be1
commit
e692419576
@ -20,7 +20,7 @@ public class LevelUpEventTrigger implements EventTriggerHandler {
|
|||||||
PlayerData player = event.getData();
|
PlayerData player = event.getData();
|
||||||
PlayerClass profess = player.getProfess();
|
PlayerClass profess = player.getProfess();
|
||||||
|
|
||||||
|
player.getPlayer().sendMessage("Test Message: " + event.getNewLevel());
|
||||||
if(event.hasProfession()) {
|
if(event.hasProfession()) {
|
||||||
String prof = event.getProfession().getId().toLowerCase();
|
String prof = event.getProfession().getId().toLowerCase();
|
||||||
processTrigger(player, profess, "level-up-" + prof);
|
processTrigger(player, profess, "level-up-" + prof);
|
||||||
|
Loading…
Reference in New Issue
Block a user