diff --git a/cicaprojekt/Wall.java b/cicaprojekt/Wall.java index 3a3be71..d23cc44 100644 --- a/cicaprojekt/Wall.java +++ b/cicaprojekt/Wall.java @@ -38,9 +38,7 @@ public class Wall extends Tile { } @Override - public void onExit(PlayerBase playerBase) throws IllegalStateException { - if(sg != null) return; - throw new IllegalStateException("Hiba! Te hogy kerültél a falba?"); + public void onExit(PlayerBase playerBase) { } public Stargate getStargate() {