mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
Pass zero-sized bounding box to EntityWorm#setEntityBoundingBox
This commit is contained in:
parent
58a98fb2c3
commit
2fcca318fd
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ import net.minecraft.block.IGrowable;
|
|||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.IPlantable;
|
||||
|
@ -31,7 +32,7 @@ public class EntityWorm extends Entity {
|
|||
|
||||
public EntityWorm(World world) {
|
||||
super(world);
|
||||
this.setEntityBoundingBox(null);
|
||||
this.setEntityBoundingBox(new AxisAlignedBB(0, 0, 0, 0, 0, 0));
|
||||
}
|
||||
|
||||
public static boolean canWormify(World world, BlockPos pos, IBlockState state) {
|
||||
|
|
Loading…
Reference in a new issue