mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-04 09:50:03 +01: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) {
|
+ } else if (entity.defaultActivationState || entity instanceof EntityGhast) {
|
||||||
+ range = defaultRange;
|
+ range = defaultRange;
|
||||||
+ } else if (entity.activationType == 1) {
|
+ } else if (entity.activationType == 1) {
|
||||||
+ range = world.monsterEntityActivationRange;
|
+ range = world.monsterTrackingRange;
|
||||||
+ } else if (entity.activationType == 2) {
|
+ } else if (entity.activationType == 2) {
|
||||||
+ range = world.animalTrackingRange;
|
+ range = world.animalTrackingRange;
|
||||||
+ } else if (entity instanceof EntityItemFrame || entity instanceof EntityPainting || entity instanceof EntityItem || entity instanceof EntityExperienceOrb) {
|
+ } else if (entity instanceof EntityItemFrame || entity instanceof EntityPainting || entity instanceof EntityItem || entity instanceof EntityExperienceOrb) {
|
||||||
|
Loading…
Reference in New Issue
Block a user