if (height > 0)
{
this.miny = getY() - ((height - 1) / 2);
this.maxy = getY() + ((height - 1) / 2);
}
<BUG>if (hasFlag(FieldFlag.CUBOID))
</BUG>
{
dirty.add(DirtyFieldReason.DIMENSIONS);
}

if (height > 0)
{
this.miny = getY() - ((height - 1) / 2);
this.maxy = getY() + ((height - 1) / 2);
}
if (flags.hasFlag(FieldFlag.CUBOID))
{
dirty.add(DirtyFieldReason.DIMENSIONS);
