@@ -8,7 +8,7 @@
|
||||
}
|
||||
|
||||
public boolean isNearPlayer(Level world, BlockPos pos) {
|
||||
@@ -157,13 +158,18 @@
|
||||
@@ -157,13 +158,24 @@
|
||||
((Mob) entity).finalizeSpawn(world, world.getCurrentDifficultyAt(entity.blockPosition()), EntitySpawnReason.SPAWNER, (SpawnGroupData) null);
|
||||
}
|
||||
|
||||
@@ -17,6 +17,12 @@
|
||||
|
||||
Objects.requireNonNull(entityinsentient);
|
||||
optional1.ifPresent(entityinsentient::equip);
|
||||
+ // Spigot Start
|
||||
+ if ( entityinsentient.level().spigotConfig.nerfSpawnerMobs )
|
||||
+ {
|
||||
+ entityinsentient.aware = false;
|
||||
+ }
|
||||
+ // Spigot End
|
||||
}
|
||||
|
||||
- if (!world.tryAddFreshEntityWithPassengers(entity)) {
|
||||
|
||||
Reference in New Issue
Block a user