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
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user