diff options
Diffstat (limited to 'patches/server/0899-Do-crystal-portal-proximity-check-before-entity-look.patch')
-rw-r--r-- | patches/server/0899-Do-crystal-portal-proximity-check-before-entity-look.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0899-Do-crystal-portal-proximity-check-before-entity-look.patch b/patches/server/0899-Do-crystal-portal-proximity-check-before-entity-look.patch index c83b2614f9..55393e1053 100644 --- a/patches/server/0899-Do-crystal-portal-proximity-check-before-entity-look.patch +++ b/patches/server/0899-Do-crystal-portal-proximity-check-before-entity-look.patch @@ -12,7 +12,7 @@ some servers that have players placing end crystals as a style of combat. The very cheap distance check prevents running the entity lookup every time. diff --git a/src/main/java/net/minecraft/world/item/EndCrystalItem.java b/src/main/java/net/minecraft/world/item/EndCrystalItem.java -index f9a940cdff3983d9d4de46bd5ddc1905f9254dcf..dd1bdb4bb87a3a59c229ba76b36841d199717624 100644 +index 1339459dcbd85897f32362019f79a68393c91674..26c77cead77db560dd5836f5b56e09775cf5172d 100644 --- a/src/main/java/net/minecraft/world/item/EndCrystalItem.java +++ b/src/main/java/net/minecraft/world/item/EndCrystalItem.java @@ -30,7 +30,7 @@ public class EndCrystalItem extends Item { @@ -24,7 +24,7 @@ index f9a940cdff3983d9d4de46bd5ddc1905f9254dcf..dd1bdb4bb87a3a59c229ba76b36841d1 if (!world.isEmptyBlock(blockposition1)) { return InteractionResult.FAIL; -@@ -57,7 +57,7 @@ public class EndCrystalItem extends Item { +@@ -58,7 +58,7 @@ public class EndCrystalItem extends Item { EndDragonFight enderdragonbattle = ((ServerLevel) world).getDragonFight(); if (enderdragonbattle != null) { |