@@ -1,8 +1,8 @@
|
||||
--- a/net/minecraft/server/CommandTeleport.java
|
||||
+++ b/net/minecraft/server/CommandTeleport.java
|
||||
@@ -13,6 +13,12 @@
|
||||
import java.util.Set;
|
||||
import javax.annotation.Nullable;
|
||||
--- a/net/minecraft/server/commands/CommandTeleport.java
|
||||
+++ b/net/minecraft/server/commands/CommandTeleport.java
|
||||
@@ -35,6 +35,12 @@
|
||||
import net.minecraft.world.phys.Vec2F;
|
||||
import net.minecraft.world.phys.Vec3D;
|
||||
|
||||
+// CraftBukkit start
|
||||
+import org.bukkit.Location;
|
||||
@@ -13,7 +13,7 @@
|
||||
public class CommandTeleport {
|
||||
|
||||
private static final SimpleCommandExceptionType a = new SimpleCommandExceptionType(new ChatMessage("commands.teleport.invalidPosition"));
|
||||
@@ -128,9 +134,9 @@
|
||||
@@ -150,9 +156,9 @@
|
||||
}
|
||||
|
||||
if (worldserver == entity.world) {
|
||||
@@ -25,7 +25,7 @@
|
||||
}
|
||||
|
||||
entity.setHeadRotation(f);
|
||||
@@ -139,6 +145,21 @@
|
||||
@@ -161,6 +167,21 @@
|
||||
float f3 = MathHelper.g(f1);
|
||||
|
||||
f3 = MathHelper.a(f3, -90.0F, 90.0F);
|
||||
|
||||
Reference in New Issue
Block a user