@@ -12,15 +12,6 @@
|
||||
|
||||
public class CommandTeleport {
|
||||
|
||||
@@ -47,7 +52,7 @@
|
||||
while (iterator.hasNext()) {
|
||||
Entity entity1 = (Entity) iterator.next();
|
||||
|
||||
- a(commandlistenerwrapper, entity1, commandlistenerwrapper.getWorld(), entity.locX, entity.locY, entity.locZ, EnumSet.noneOf(PacketPlayOutPosition.EnumPlayerTeleportFlags.class), entity.yaw, entity.pitch, (CommandTeleport.a) null);
|
||||
+ a(commandlistenerwrapper, entity1, (WorldServer) entity.world, entity.locX, entity.locY, entity.locZ, EnumSet.noneOf(PacketPlayOutPosition.EnumPlayerTeleportFlags.class), entity.yaw, entity.pitch, (CommandTeleport.a) null); // SPIGOT-4245, MC-128441 - use target world as destination
|
||||
}
|
||||
|
||||
if (collection.size() == 1) {
|
||||
@@ -118,9 +123,9 @@
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user