diff --git a/AreaShop/src/main/java/nl/evolutioncoding/areashop/regions/GeneralRegion.java b/AreaShop/src/main/java/nl/evolutioncoding/areashop/regions/GeneralRegion.java index bf49e5e..28b1731 100644 --- a/AreaShop/src/main/java/nl/evolutioncoding/areashop/regions/GeneralRegion.java +++ b/AreaShop/src/main/java/nl/evolutioncoding/areashop/regions/GeneralRegion.java @@ -1032,9 +1032,8 @@ public abstract class GeneralRegion implements GeneralRegionInterface, Comparabl public void resetRegionFlags() { ProtectedRegion region = getRegion(); if(region != null) { - for(Flag flag : DefaultFlag.getFlags()) { - region.setFlag(flag, null); - } + region.setFlag(DefaultFlag.GREET_MESSAGE, null); + region.setFlag(DefaultFlag.FAREWELL_MESSAGE, null); } }