Correctly inflate villager activation bounding box (#6798)

This commit is contained in:
Bjarne Koll
2021-10-20 05:14:30 +02:00
parent 637b466c2d
commit 89b449e9e6
2 changed files with 2 additions and 2 deletions

View File

@@ -1313,7 +1313,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
--- a/src/main/java/org/spigotmc/ActivationRange.java
+++ b/src/main/java/org/spigotmc/ActivationRange.java
@@ -0,0 +0,0 @@ public class ActivationRange
ActivationType.VILLAGER.boundingBox = player.getBoundingBox().inflate( villagerActivationRange, 256, waterActivationRange );
ActivationType.VILLAGER.boundingBox = player.getBoundingBox().inflate( villagerActivationRange, 256, villagerActivationRange );
// Paper end
- world.getEntities().get(maxBB, ActivationRange::activateEntity);