mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 02:35:49 +01:00
SPIGOT-4566: Don't special case NETHER_PORTAL teleport reason from plugins
This commit is contained in:
parent
f17d591cc9
commit
b15abb12cb
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
||||||
|
|
||||||
// Let the server handle cross world teleports
|
// Let the server handle cross world teleports
|
||||||
if (!location.getWorld().equals(getWorld())) {
|
if (!location.getWorld().equals(getWorld())) {
|
||||||
entity.teleportTo(location, cause == TeleportCause.NETHER_PORTAL);
|
entity.teleportTo(location, false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue