diff options
Diffstat (limited to 'patches/server/0591-Improve-and-expand-AsyncCatcher.patch')
-rw-r--r-- | patches/server/0591-Improve-and-expand-AsyncCatcher.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/patches/server/0591-Improve-and-expand-AsyncCatcher.patch b/patches/server/0591-Improve-and-expand-AsyncCatcher.patch index f2bb9da75a..ad5379393a 100644 --- a/patches/server/0591-Improve-and-expand-AsyncCatcher.patch +++ b/patches/server/0591-Improve-and-expand-AsyncCatcher.patch @@ -166,10 +166,10 @@ index 4eb0b0969325f39a7ae65492cccd482515a50142..5aa74c00a61282830d82359eae2b114e PersistentEntitySectionManager.LOGGER.warn("Entity {} wasn't found in section {} (destroying due to {})", new Object[]{this.entity, SectionPos.of(this.currentSectionKey), reason}); } diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index 1812dcd6e21d6de834ce6c39b5b69cee31a5fa06..8fdae6c7d37d2403d95d37fe0dc35f168ce0f256 100644 +index 55b8b25dfece08ecc82fa2f15c81bd6a03a5de90..ec95c29b27613b9671ddaa304f26d8e3130a9390 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -1750,6 +1750,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1751,6 +1751,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { @Override public void playSound(Location loc, Sound sound, org.bukkit.SoundCategory category, float volume, float pitch, long seed) { @@ -177,7 +177,7 @@ index 1812dcd6e21d6de834ce6c39b5b69cee31a5fa06..8fdae6c7d37d2403d95d37fe0dc35f16 if (loc == null || sound == null || category == null) return; double x = loc.getX(); -@@ -1761,6 +1762,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1762,6 +1763,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { @Override public void playSound(Location loc, String sound, org.bukkit.SoundCategory category, float volume, float pitch, long seed) { @@ -185,7 +185,7 @@ index 1812dcd6e21d6de834ce6c39b5b69cee31a5fa06..8fdae6c7d37d2403d95d37fe0dc35f16 if (loc == null || sound == null || category == null) return; double x = loc.getX(); -@@ -1793,6 +1795,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1794,6 +1796,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { @Override public void playSound(Entity entity, Sound sound, org.bukkit.SoundCategory category, float volume, float pitch, long seed) { @@ -193,7 +193,7 @@ index 1812dcd6e21d6de834ce6c39b5b69cee31a5fa06..8fdae6c7d37d2403d95d37fe0dc35f16 if (!(entity instanceof CraftEntity craftEntity) || entity.getWorld() != this || sound == null || category == null) return; ClientboundSoundEntityPacket packet = new ClientboundSoundEntityPacket(CraftSound.bukkitToMinecraftHolder(sound), net.minecraft.sounds.SoundSource.valueOf(category.name()), craftEntity.getHandle(), volume, pitch, seed); -@@ -1813,6 +1816,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1814,6 +1817,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { @Override public void playSound(Entity entity, String sound, org.bukkit.SoundCategory category, float volume, float pitch, long seed) { |