From 841ab4134df90a166a22396d1dc5841bcc38e35f Mon Sep 17 00:00:00 2001 From: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com> Date: Sun, 26 May 2024 23:30:45 +0200 Subject: Fix more item desync when an event is cancelled (#10654) --- .../0899-Do-crystal-portal-proximity-check-before-entity-look.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'patches/server/0899-Do-crystal-portal-proximity-check-before-entity-look.patch') 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) { -- cgit v1.2.3