*Don't use implementation specific setup class

This commit is contained in:
Jesse Boyd 2017-03-27 05:20:05 +11:00
parent 4cab0b223d
commit d6ea16f7ef
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ import com.intellectualcrafters.plot.object.PlotPlayer;
import com.intellectualcrafters.plot.object.RunnableVal2; import com.intellectualcrafters.plot.object.RunnableVal2;
import com.intellectualcrafters.plot.object.RunnableVal3; import com.intellectualcrafters.plot.object.RunnableVal3;
import com.intellectualcrafters.plot.object.worlds.SinglePlotArea; import com.intellectualcrafters.plot.object.worlds.SinglePlotArea;
import com.plotsquared.bukkit.util.BukkitSetupUtils; import com.intellectualcrafters.plot.util.SetupUtils;
import com.plotsquared.general.commands.Command; import com.plotsquared.general.commands.Command;
import com.plotsquared.general.commands.CommandDeclaration; import com.plotsquared.general.commands.CommandDeclaration;
import com.sk89q.worldedit.event.platform.CommandEvent; import com.sk89q.worldedit.event.platform.CommandEvent;
@ -55,7 +55,7 @@ public class ReplaceAll extends Command {
TaskManager.IMP.sync(new RunnableVal<Object>() { TaskManager.IMP.sync(new RunnableVal<Object>() {
@Override @Override
public void run(Object value) { public void run(Object value) {
BukkitSetupUtils.manager.unload(worldName, true); SetupUtils.manager.unload(worldName, true);
} }
}); });
FakePlayer actor = FakePlayer.getConsole(); FakePlayer actor = FakePlayer.getConsole();