Fix NPE when setting a player's spectator target (#1596)

Fix NPE when setting a player's spectator target
This commit is contained in:
Caleb Bassham
2018-10-21 14:27:53 -05:00
parent 4c9478551c
commit 0c7c2af037
41 changed files with 136 additions and 130 deletions

View File

@@ -5,7 +5,7 @@ Subject: [PATCH] Turtle API
diff --git a/src/main/java/net/minecraft/server/EntityTurtle.java b/src/main/java/net/minecraft/server/EntityTurtle.java
index 4f5592d1c9..981a025efc 100644
index 4f5592d1..981a025e 100644
--- a/src/main/java/net/minecraft/server/EntityTurtle.java
+++ b/src/main/java/net/minecraft/server/EntityTurtle.java
@@ -0,0 +0,0 @@ public class EntityTurtle extends EntityAnimal {
@@ -104,7 +104,7 @@ index 4f5592d1c9..981a025efc 100644
public void c() {
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftTurtle.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftTurtle.java
index 123a2c75ca..8edcf7af65 100644
index 123a2c75..8edcf7af 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftTurtle.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftTurtle.java
@@ -0,0 +0,0 @@