mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 14:49:03 +00:00
Fixed 3 "switch without 'default' clause." issues (#207)
Fixed 3 "switch without 'default' clause."
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user