Fixed 3 "switch without 'default' clause." issues (#207)

Fixed 3 "switch without 'default' clause."
This commit is contained in:
yesji
2019-10-06 18:21:32 +05:30
committed by simon987
parent 50e0baa6ec
commit 638c5b3bb3
3 changed files with 9 additions and 1 deletions

View File

@@ -89,6 +89,8 @@ public abstract class GameObject implements JSONSerializable, MongoSerializable
case WEST:
setX(nextWorld.getWorldSize() - 1);
break;
default:
break;
}
return true;
@@ -270,4 +272,4 @@ public abstract class GameObject implements JSONSerializable, MongoSerializable
return document;
}
}
}