mirror of
https://github.com/PaperMC/Paper.git
synced 2025-09-01 04:43:50 -07:00
Update to Minecraft 1.13-pre7
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
--- a/net/minecraft/server/EntityShulker.java
|
||||
+++ b/net/minecraft/server/EntityShulker.java
|
||||
@@ -6,6 +6,10 @@
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import java.util.function.Predicate;
|
||||
import javax.annotation.Nullable;
|
||||
+// CraftBukkit start
|
||||
+import org.bukkit.Location;
|
||||
@@ -11,19 +11,10 @@
|
||||
|
||||
public class EntityShulker extends EntityGolem implements IMonster {
|
||||
|
||||
@@ -112,7 +116,7 @@
|
||||
|
||||
this.datawatcher.set(EntityShulker.b, Optional.of(new BlockPosition(i, j, k)));
|
||||
} else {
|
||||
- this.datawatcher.set(EntityShulker.b, Optional.absent());
|
||||
+ this.datawatcher.set(EntityShulker.b, Optional.<BlockPosition>absent());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -331,8 +335,17 @@
|
||||
@@ -326,8 +330,17 @@
|
||||
EnumDirection enumdirection = aenumdirection[k];
|
||||
|
||||
if (this.world.d(blockposition1.shift(enumdirection), false)) {
|
||||
if (this.world.q(blockposition1.shift(enumdirection))) {
|
||||
- this.datawatcher.set(EntityShulker.a, enumdirection);
|
||||
- flag = true;
|
||||
+ // CraftBukkit start
|
||||
|
Reference in New Issue
Block a user