fixed external flags

This commit is contained in:
boy0001 2015-02-14 15:20:26 +11:00
parent 643d907792
commit 632d63a640

View File

@ -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);
} }
} }