diff options
Diffstat (limited to 'patches/server/0577-Fix-invulnerable-end-crystals.patch')
-rw-r--r-- | patches/server/0577-Fix-invulnerable-end-crystals.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/patches/server/0577-Fix-invulnerable-end-crystals.patch b/patches/server/0577-Fix-invulnerable-end-crystals.patch index 8d9e818ef4..75347e76f0 100644 --- a/patches/server/0577-Fix-invulnerable-end-crystals.patch +++ b/patches/server/0577-Fix-invulnerable-end-crystals.patch @@ -6,10 +6,10 @@ Subject: [PATCH] Fix invulnerable end crystals MC-108513 diff --git a/src/main/java/net/minecraft/world/entity/boss/enderdragon/EndCrystal.java b/src/main/java/net/minecraft/world/entity/boss/enderdragon/EndCrystal.java -index cc3f1532a2108ea915d0e8c840e87bc56ab60a65..c99ab157e43fc990549fc06f5b6fb1e227014fde 100644 +index e7e01effab5f727d9b84a0575d165127e3dfe4c9..036640d49a5e891e9a0f767abe33f1f51d6d4cde 100644 --- a/src/main/java/net/minecraft/world/entity/boss/enderdragon/EndCrystal.java +++ b/src/main/java/net/minecraft/world/entity/boss/enderdragon/EndCrystal.java -@@ -29,6 +29,7 @@ public class EndCrystal extends Entity { +@@ -30,6 +30,7 @@ public class EndCrystal extends Entity { private static final EntityDataAccessor<Optional<BlockPos>> DATA_BEAM_TARGET = SynchedEntityData.defineId(EndCrystal.class, EntityDataSerializers.OPTIONAL_BLOCK_POS); private static final EntityDataAccessor<Boolean> DATA_SHOW_BOTTOM = SynchedEntityData.defineId(EndCrystal.class, EntityDataSerializers.BOOLEAN); public int time; @@ -17,7 +17,7 @@ index cc3f1532a2108ea915d0e8c840e87bc56ab60a65..c99ab157e43fc990549fc06f5b6fb1e2 public EndCrystal(EntityType<? extends EndCrystal> type, Level world) { super(type, world); -@@ -65,6 +66,17 @@ public class EndCrystal extends Entity { +@@ -66,6 +67,17 @@ public class EndCrystal extends Entity { } // CraftBukkit end } @@ -35,7 +35,7 @@ index cc3f1532a2108ea915d0e8c840e87bc56ab60a65..c99ab157e43fc990549fc06f5b6fb1e2 } } -@@ -76,6 +88,7 @@ public class EndCrystal extends Entity { +@@ -77,6 +89,7 @@ public class EndCrystal extends Entity { } nbt.putBoolean("ShowBottom", this.showsBottom()); @@ -43,7 +43,7 @@ index cc3f1532a2108ea915d0e8c840e87bc56ab60a65..c99ab157e43fc990549fc06f5b6fb1e2 } @Override -@@ -87,6 +100,7 @@ public class EndCrystal extends Entity { +@@ -88,6 +101,7 @@ public class EndCrystal extends Entity { if (nbt.contains("ShowBottom", 1)) { this.setShowBottom(nbt.getBoolean("ShowBottom")); } |