Compiler issue v5
This commit is contained in:
parent
f3f59e196d
commit
d333b32d4f
9 changed files with 34 additions and 24 deletions
|
@ -263,7 +263,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ for (final io.papermc.paper.entity.TeleportFlag.Relative bukkit : relativeArguments) {
|
||||
+ nms.add(toNmsRelativeFlag(bukkit));
|
||||
+ }
|
||||
+ entity.connection.internalTeleport(to.getX(), to.getY(), to.getZ(), to.getYaw(), to.getPitch(), nms);
|
||||
+ entity.connection.internalTeleport(new net.minecraft.world.entity.PositionMoveRotation(
|
||||
+ io.papermc.paper.util.MCUtil.toVec3(to), net.minecraft.world.phys.Vec3.ZERO, to.getYaw(), to.getPitch()
|
||||
+ ), nms);
|
||||
+ // Paper end - Teleport API
|
||||
} else {
|
||||
entity.portalProcess = null; // SPIGOT-7785: there is no need to carry this over as it contains the old world/location and we might run into trouble if there is a portal in the same spot in both worlds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue