mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Fix class NPE
This commit is contained in:
parent
527cff6aeb
commit
4e2ff51902
@ -181,6 +181,9 @@ public class DGamePlayer extends DInstancePlayer implements GamePlayer {
|
||||
@Override
|
||||
public void setPlayerClass(PlayerClass playerClass) {
|
||||
dClass = playerClass;
|
||||
if (dClass == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* Set Dog */
|
||||
if (wolf != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user