mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
move
This commit is contained in:
parent
64d81326aa
commit
2e5fee41ef
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user