mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 00:42:05 +01:00
Fixed player teleporting not working with a certain method. This fixes BUKKIT-198
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
2d41f1d696
commit
63318d575f
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
|||
}
|
||||
|
||||
public boolean teleport(Location location) {
|
||||
return teleport(this, TeleportCause.PLUGIN);
|
||||
return teleport(location, TeleportCause.PLUGIN);
|
||||
}
|
||||
|
||||
public boolean teleport(Location location, TeleportCause cause) {
|
||||
|
|
Loading…
Add table
Reference in a new issue