From 2e5fee41ef5f1f53e356595267430e144783dbce Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sun, 22 Feb 2015 18:24:14 +1100 Subject: [PATCH] move --- .../java/com/intellectualcrafters/plot/commands/Move.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Move.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Move.java index e7b76d167..7c1267523 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Move.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Move.java @@ -20,8 +20,6 @@ //////////////////////////////////////////////////////////////////////////////////////////////////// package com.intellectualcrafters.plot.commands; -import org.bukkit.World; - import com.intellectualcrafters.plot.object.PlotId; import com.intellectualcrafters.plot.object.PlotPlayer; import com.intellectualcrafters.plot.util.MainUtil; @@ -45,7 +43,7 @@ public class Move extends SubCommand { MainUtil.sendMessage(plr, "/plot move "); return false; } - final World world = plr.getWorld(); + final String world = plr.getLocation().getWorld(); final PlotId plot1 = MainUtil.parseId(args[0]); final PlotId plot2 = MainUtil.parseId(args[1]); if ((plot1 == null) || (plot2 == null)) {