diff --git a/Plugin Cubot/src/main/java/net/simon987/cubotplugin/CubotLidar.java b/Plugin Cubot/src/main/java/net/simon987/cubotplugin/CubotLidar.java index 89a63d3..0386f37 100644 --- a/Plugin Cubot/src/main/java/net/simon987/cubotplugin/CubotLidar.java +++ b/Plugin Cubot/src/main/java/net/simon987/cubotplugin/CubotLidar.java @@ -125,6 +125,9 @@ public class CubotLidar extends HardwareModule { getCpu().getRegisterSet().getRegister("X").setValue(unit.getWorld().getX()); getCpu().getRegisterSet().getRegister("Y").setValue(unit.getWorld().getY()); break; + + default: + break; } } diff --git a/Plugin NPC/src/main/java/net/simon987/npcplugin/VaultWorldGenerator.java b/Plugin NPC/src/main/java/net/simon987/npcplugin/VaultWorldGenerator.java index 204db43..1911054 100644 --- a/Plugin NPC/src/main/java/net/simon987/npcplugin/VaultWorldGenerator.java +++ b/Plugin NPC/src/main/java/net/simon987/npcplugin/VaultWorldGenerator.java @@ -156,6 +156,9 @@ public class VaultWorldGenerator { map.setTileAt(floorTile, 1, worldSize / 2 - 1); roomCenters.add(new Point(1, worldSize / 2 - 1)); break; + default: + + break; } } diff --git a/Server/src/main/java/net/simon987/server/game/objects/GameObject.java b/Server/src/main/java/net/simon987/server/game/objects/GameObject.java index 49f740c..eac119a 100755 --- a/Server/src/main/java/net/simon987/server/game/objects/GameObject.java +++ b/Server/src/main/java/net/simon987/server/game/objects/GameObject.java @@ -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; } -} \ No newline at end of file +}