mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45:52 -07:00
Update to Minecraft 1.12-pre2
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
+++ b/net/minecraft/server/CommandTp.java
|
||||
@@ -53,17 +53,11 @@
|
||||
} else {
|
||||
Entity entity = b(minecraftserver, icommandlistener, astring[astring.length - 1]);
|
||||
Entity entity = c(minecraftserver, icommandlistener, astring[astring.length - 1]);
|
||||
|
||||
- if (entity.world != ((Entity) object).world) {
|
||||
- throw new CommandException("commands.tp.notSameDimension", new Object[0]);
|
||||
@@ -28,7 +28,7 @@
|
||||
entity.stopRiding();
|
||||
- ((EntityPlayer) entity).playerConnection.a(commandabstract_commandnumber.b(), commandabstract_commandnumber1.b(), commandabstract_commandnumber2.b(), f, f1, enumset);
|
||||
+ ((EntityPlayer) entity).playerConnection.a(commandabstract_commandnumber.b(), commandabstract_commandnumber1.b(), commandabstract_commandnumber2.b(), f, f1, enumset, org.bukkit.event.player.PlayerTeleportEvent.TeleportCause.COMMAND); // CraftBukkit
|
||||
entity.h(f);
|
||||
entity.setHeadRotation(f);
|
||||
} else {
|
||||
float f2 = (float) MathHelper.g(commandabstract_commandnumber3.a());
|
||||
@@ -126,10 +120,17 @@
|
||||
|
Reference in New Issue
Block a user