mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
fixed external flags
This commit is contained in:
parent
643d907792
commit
632d63a640
@ -68,7 +68,7 @@ import com.intellectualcrafters.plot.object.PlotWorld;
|
|||||||
if (PlotMain.getAllPlotsRaw() != null) {
|
if (PlotMain.getAllPlotsRaw() != null) {
|
||||||
for (Plot plot : PlotMain.getPlots()) {
|
for (Plot plot : PlotMain.getPlots()) {
|
||||||
for (Flag flag : plot.settings.flags) {
|
for (Flag flag : plot.settings.flags) {
|
||||||
if (flag.getAbstractFlag().getKey().equals(af)) {
|
if (flag.getAbstractFlag().getKey().equals(af.getKey())) {
|
||||||
flag.setKey(af);
|
flag.setKey(af);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user