3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-16 11:30:06 +01:00

Merge pull request #33 from Bestle/patch-1

Update 0038-Entity-Tracking-Ranges.patch
Dieser Commit ist enthalten in:
md-5 2013-04-08 17:06:03 -07:00
Commit bf674a5279

Datei anzeigen

@ -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) {