mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-24 22:14:45 +00:00
Fix pink wither AI tweaks not being done on world reload
This commit is contained in:
1 parent
e2a102f8dc
commit
c564648a52
1 file changed
+4
-4
@@ -30,12 +30,12 @@ import javax.annotation.Nonnull;
|
||||
public class EntityPinkWither extends WitherEntity {
|
||||
@ObjectHolder(LibMisc.MOD_ID + ":pink_wither") public static EntityType<EntityPinkWither> TYPE;
|
||||
|
||||
public EntityPinkWither(EntityType<EntityPinkWither> type, World world) {
|
||||
super(type, world);
|
||||
public EntityPinkWither(World world) {
|
||||
this(TYPE, world);
|
||||
}
|
||||
|
||||
public EntityPinkWither(World world) {
|
||||
super(TYPE, world);
|
||||
public EntityPinkWither(EntityType<EntityPinkWither> type, World world) {
|
||||
super(type, world);
|
||||
|
||||
// Remove firing wither skulls
|
||||
goalSelector.goals.removeIf(entry -> entry.getGoal() instanceof RangedAttackGoal);
|
||||
|
||||
Reference in new issue
Block a user