geforkt von Mirrors/Paper
SPIGOT-4566: Don't special case NETHER_PORTAL teleport reason from plugins
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
9276e6f396
Commit
73e6e274ff
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren