Minor tweaks

This commit is contained in:
boy0001
2015-07-20 15:14:46 +10:00
parent 9c635810b0
commit 38f0e82447
6 changed files with 13 additions and 18 deletions

View File

@ -81,8 +81,7 @@ public class BukkitPlayer implements PlotPlayer {
@Override
public void teleport(final Location loc) {
this.player.teleport(new org.bukkit.Location(BukkitUtil.getWorld(loc.getWorld()), loc.getX(), loc.getY(), loc.getZ()));
this.player.teleport(new org.bukkit.Location(BukkitUtil.getWorld(loc.getWorld()), loc.getX() + 0.5, loc.getY(), loc.getZ() + 0.5, loc.getYaw(), loc.getPitch()));
}
@Override

View File

@ -22,7 +22,7 @@ public interface PlotPlayer {
public void sendMessage(final String message);
public void teleport(final Location loc);
public boolean isOp();
public boolean isOnline();