mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 11:25:55 +03:00
21 lines
744 B
Diff
21 lines
744 B
Diff
--- ../src-base/minecraft/net/minecraft/entity/passive/EntitySquid.java
|
|
+++ ../src-work/minecraft/net/minecraft/entity/passive/EntitySquid.java
|
|
@@ -49,7 +49,7 @@
|
|
|
|
protected void initEntityAI()
|
|
{
|
|
- this.tasks.addTask(0, new EntitySquid.AIMoveRandom(this));
|
|
+ this.tasks.addTask(0, new AIMoveRandom(this));
|
|
}
|
|
|
|
protected void applyEntityAttributes()
|
|
@@ -191,7 +191,7 @@
|
|
|
|
public boolean getCanSpawnHere()
|
|
{
|
|
- return this.posY > 45.0D && this.posY < (double)this.world.getSeaLevel() && super.getCanSpawnHere();
|
|
+ return this.posY > this.world.spigotConfig.squidSpawnRangeMin && this.posY < (double)this.world.getSeaLevel() && super.getCanSpawnHere();
|
|
}
|
|
|
|
@SideOnly(Side.CLIENT)
|