mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-28 11:44:42 +02:00
Minor tweaks
This commit is contained in:
@ -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
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user