Update 0038-Entity-Tracking-Ranges.patch

monsterEntityActivationRange -> monsterTrackingRange
By: Bestle <tom.roberts00@gmail.com>
This commit is contained in:
Spigot 2013-04-09 02:00:09 +02:00
parent cbeb6f142c
commit fdf667b0d7

View file

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