mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 03:59:22 +00:00
Typo :|
This commit is contained in:
parent
2e06140e80
commit
b8c0b6c4a8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue