mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Revert teleportation behavior to pre-4.400
This commit is contained in:
parent
a17588199f
commit
0f39df0e0b
@ -199,7 +199,7 @@ public class BukkitPlayer extends PlotPlayer {
|
||||
}
|
||||
final org.bukkit.Location bukkitLocation = new org.bukkit.Location(BukkitUtil.getWorld(location.getWorld()), location.getX() + 0.5,
|
||||
location.getY(), location.getZ() + 0.5, location.getYaw(), location.getPitch());
|
||||
PaperLib.teleportAsync(player, bukkitLocation, PlayerTeleportEvent.TeleportCause.PLUGIN);
|
||||
PaperLib.teleportAsync(player, bukkitLocation, PlayerTeleportEvent.TeleportCause.COMMAND);
|
||||
}
|
||||
|
||||
@Override public String getName() {
|
||||
|
Loading…
Reference in New Issue
Block a user