This commit is contained in:
boy0001 2015-02-20 17:53:17 +11:00
parent 31159488c1
commit 14691d8dce

View File

@ -55,7 +55,7 @@ public class PWE {
if (!PlotSquared.isPlotWorld(p.getWorld().getName())) { if (!PlotSquared.isPlotWorld(p.getWorld().getName())) {
removeMask(p); removeMask(p);
} }
final PlotId id = PlayerFunctions.getPlot(l); final PlotId id = PlotHelper.getPlotId(l);
if (id != null) { if (id != null) {
final Plot plot = PlotSquared.getPlots(l.getWorld()).get(id); final Plot plot = PlotSquared.getPlots(l.getWorld()).get(id);
if (plot != null) { if (plot != null) {