mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 13:45:14 +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;
|
return true;
|
||||||
}
|
}
|
||||||
// Get the island and if present
|
// Get the island and if present
|
||||||
Optional<Island> island = getIslands().getIslandAt(loc);
|
Optional<Island> island = getIslands().getProtectedIslandAt(loc);
|
||||||
// Handle Settings Flag
|
// Handle Settings Flag
|
||||||
if (flag.getType().equals(Type.SETTING)) {
|
if (flag.getType().equals(Type.SETTING)) {
|
||||||
// If the island exists, return the setting, otherwise return the default setting for this flag
|
// If the island exists, return the setting, otherwise return the default setting for this flag
|
||||||
|
Loading…
Reference in New Issue
Block a user