Changed respec code to get the objectId from SetProfessionTemplate

This commit is contained in:
Ziggeh
2014-09-05 21:48:30 +02:00
parent 1fd0d662ed
commit 2cf0f0b59b
2 changed files with 2 additions and 19 deletions
+1 -1
View File
@@ -719,7 +719,7 @@ public class PlayerService implements INetworkDispatch {
return;
}
if (profession == null || !Professions.isProfession(profession)) {
if (profession == null || !Professions.isProfession(profession) || player.getProfession().equals(profession)) {
return;
}