@@ -1,8 +1,8 @@
|
||||
--- a/net/minecraft/server/CommandTeleport.java
|
||||
+++ b/net/minecraft/server/CommandTeleport.java
|
||||
@@ -14,6 +14,11 @@
|
||||
@@ -12,6 +12,11 @@
|
||||
import java.util.Iterator;
|
||||
import java.util.Set;
|
||||
import java.util.function.Predicate;
|
||||
import javax.annotation.Nullable;
|
||||
+// CraftBukkit start
|
||||
+import org.bukkit.Location;
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
public class CommandTeleport {
|
||||
|
||||
@@ -49,7 +54,7 @@
|
||||
@@ -47,7 +52,7 @@
|
||||
while (iterator.hasNext()) {
|
||||
Entity entity1 = (Entity) iterator.next();
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
}
|
||||
|
||||
if (collection.size() == 1) {
|
||||
@@ -120,9 +125,9 @@
|
||||
@@ -118,9 +123,9 @@
|
||||
}
|
||||
|
||||
if (worldserver == entity.world) {
|
||||
@@ -33,7 +33,7 @@
|
||||
}
|
||||
|
||||
entity.setHeadRotation(f);
|
||||
@@ -131,6 +136,21 @@
|
||||
@@ -129,6 +134,21 @@
|
||||
float f3 = MathHelper.g(f1);
|
||||
|
||||
f3 = MathHelper.a(f3, -90.0F, 90.0F);
|
||||
|
||||
Reference in New Issue
Block a user