Skip to content

Commit

Permalink
Fixed extraRadius in ProtectionListener#preventInteraction not being …
Browse files Browse the repository at this point in the history
…used
  • Loading branch information
OmerBenGera committed Aug 5, 2023
1 parent f52a7fa commit c05b23c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -728,7 +728,7 @@ private boolean preventInteraction(@Nullable Island island, Location location, S
return false;
}

if (!island.isInsideRange(location)) {
if (!island.isInsideRange(location, extraRadius)) {
if (sendMessages)
Message.BUILD_OUTSIDE_ISLAND.send(superiorPlayer);
return true;
Expand Down

0 comments on commit c05b23c

Please sign in to comment.