forked from Upstream/mmocore
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