Skip to content

Commit

Permalink
Fix identation
Browse files Browse the repository at this point in the history
  • Loading branch information
iquelli committed Mar 28, 2024
1 parent 37cf964 commit 6eb16a0
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,15 +399,15 @@ public void playerMove(String playerName, PrisonEscapeLocation loc) {
return;
}

if (_prison.isOutsidePrison(loc)) {
playerEscaped(player);
}
if (_prison.isOutsidePrison(loc)) {
playerEscaped(player);
}

if ( _prison.isInRestrictedAreas(loc)) {
player.setInRestrictedArea();
} else if (player.isInRestrictedArea()) {
player.removeInRestrictedArea();
}
if ( _prison.isInRestrictedAreas(loc)) {
player.setInRestrictedArea();
} else if (player.isInRestrictedArea()) {
player.removeInRestrictedArea();
}

if (_prison.checkIfMetalDetectorTriggered(loc, player.getInventory())) {
// TODO: Do beep
Expand Down

0 comments on commit 6eb16a0

Please sign in to comment.