mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
Update 0038-Entity-Tracking-Ranges.patch
monsterEntityActivationRange -> monsterTrackingRange
This commit is contained in:
parent
c7acdbe8ed
commit
8276f54c06
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue