mirror of
https://github.com/PaperMC/Paper.git
synced 2024-08-18 02:02:48 +02:00
Update 0038-Entity-Tracking-Ranges.patch
monsterEntityActivationRange -> monsterTrackingRange
This commit is contained in:
parent
c7acdbe8ed
commit
8276f54c06
|
@ -106,7 +106,7 @@ index ac99395..e38f39c 100644
|
|||
+ } else if (entity.defaultActivationState || entity instanceof EntityGhast) {
|
||||
+ range = defaultRange;
|
||||
+ } else if (entity.activationType == 1) {
|
||||
+ range = world.monsterEntityActivationRange;
|
||||
+ range = world.monsterTrackingRange;
|
||||
+ } else if (entity.activationType == 2) {
|
||||
+ range = world.animalTrackingRange;
|
||||
+ } else if (entity instanceof EntityItemFrame || entity instanceof EntityPainting || entity instanceof EntityItem || entity instanceof EntityExperienceOrb) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user