removed unnecessary throw statement. we'll miss you.
throw new IllegalStateException("Hiba! Te hogy kerültél a falba?") best exception evör.
This commit is contained in:
parent
da5640592d
commit
230f36d856
@ -38,9 +38,7 @@ public class Wall extends Tile {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onExit(PlayerBase playerBase) throws IllegalStateException {
|
public void onExit(PlayerBase playerBase) {
|
||||||
if(sg != null) return;
|
|
||||||
throw new IllegalStateException("Hiba! Te hogy kerültél a falba?");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Stargate getStargate() {
|
public Stargate getStargate() {
|
||||||
|
Loading…
Reference in New Issue
Block a user