From b8c0b6c4a845b59556cd4d953c94ea47ddb08252 Mon Sep 17 00:00:00 2001 From: sauilitired Date: Sun, 24 May 2015 03:17:09 +0200 Subject: [PATCH] Typo :| --- .../main/java/com/intellectualcrafters/plot/commands/Set.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Set.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Set.java index 8998d2eff..fe718a0dd 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Set.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/Set.java @@ -163,7 +163,7 @@ public class Set extends SubCommand { final Location base = MainUtil.getPlotBottomLoc(world, plot.id); base.setY(0); final Location relative = plr.getLocation().subtract(base.getX(), base.getY(), base.getZ()); - final BlockLoc blockloc = new BlockLoc(relative.getX(), relative.getY(), relative.getZ(), relative.getY(), relative.getPitch()); + final BlockLoc blockloc = new BlockLoc(relative.getX(), relative.getY(), relative.getZ(), relative.getYaw(), relative.getPitch()); plot.settings.setPosition(blockloc); DBFunc.setPosition(loc.getWorld(), plot, blockloc.toString()); return MainUtil.sendMessage(plr, C.POSITION_SET);