This commit is contained in:
boy0001 2015-02-22 18:24:14 +11:00
parent 64d81326aa
commit 2e5fee41ef

View File

@ -20,8 +20,6 @@
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
package com.intellectualcrafters.plot.commands; package com.intellectualcrafters.plot.commands;
import org.bukkit.World;
import com.intellectualcrafters.plot.object.PlotId; import com.intellectualcrafters.plot.object.PlotId;
import com.intellectualcrafters.plot.object.PlotPlayer; import com.intellectualcrafters.plot.object.PlotPlayer;
import com.intellectualcrafters.plot.util.MainUtil; import com.intellectualcrafters.plot.util.MainUtil;
@ -45,7 +43,7 @@ public class Move extends SubCommand {
MainUtil.sendMessage(plr, "/plot move <pos1> <pos2>"); MainUtil.sendMessage(plr, "/plot move <pos1> <pos2>");
return false; return false;
} }
final World world = plr.getWorld(); final String world = plr.getLocation().getWorld();
final PlotId plot1 = MainUtil.parseId(args[0]); final PlotId plot1 = MainUtil.parseId(args[0]);
final PlotId plot2 = MainUtil.parseId(args[1]); final PlotId plot2 = MainUtil.parseId(args[1]);
if ((plot1 == null) || (plot2 == null)) { if ((plot1 == null) || (plot2 == null)) {