mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Revert teleportation behavior to pre-4.400
This commit is contained in:
parent
a17588199f
commit
0f39df0e0b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue