mirror of
https://github.com/PaperMC/Paper.git
synced 2024-08-18 02:02:48 +02:00
Merge pull request #33 from Bestle/patch-1
Update 0038-Entity-Tracking-Ranges.patch
This commit is contained in:
commit
bf674a5279
|
@ -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