TEST BUILD - Will print test information on level up triggers

This commit is contained in:
Aria Sangarin 2020-03-08 23:04:19 +01:00
parent 1666607be1
commit e692419576

View File

@ -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);