mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-03 01:19:55 +01:00
Should fix #158
This commit is contained in:
parent
45c0bc84da
commit
b45a3160c7
@ -129,7 +129,7 @@ public abstract class AbstractFlagListener implements Listener {
|
||||
return true;
|
||||
}
|
||||
// Get the island and if present
|
||||
Optional<Island> island = getIslands().getIslandAt(loc);
|
||||
Optional<Island> island = getIslands().getProtectedIslandAt(loc);
|
||||
// Handle Settings Flag
|
||||
if (flag.getType().equals(Type.SETTING)) {
|
||||
// If the island exists, return the setting, otherwise return the default setting for this flag
|
||||
|
Loading…
Reference in New Issue
Block a user