Fix class NPE

This commit is contained in:
Daniel Saukel 2020-06-17 00:14:51 +02:00
parent 527cff6aeb
commit 4e2ff51902

View File

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