mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-05 06:17:19 -04:00
Fixed profession respec exit bug
This commit is contained in:
@@ -537,7 +537,11 @@ public class PlayerService implements INetworkDispatch {
|
||||
PlayerObject player = (PlayerObject) creature.getSlottedObject("ghost");
|
||||
int level = 0;
|
||||
|
||||
if (player == null) {
|
||||
if (creature == null || player == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (profession == null || profession.equals("")) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user