Closed sapphire-arches closed 10 years ago
Thanks, @bobtwinkles
@punkkeks not worth closing the PR over, imo
@SirCmpwn you're right. But I think it should be mentioned and fixed. I don't like that kind of style if (cond) return true else return false
I think is is stupid and does not support the reading and understanding of the code.
I agree that it's not really great, but it's not that bad.
BoundingBox is nullable because some blocks (like air) don't have one.
Feel free to clean this up in a second PR. I don't mind some of the style choices here, but I'm willing to merge something that changes them.
@punkkeks The second if (cond) return true else return false
lines are left over from when there was more complex logic, I probably should have cleaned it up. The first I have no excuse for
Implements OnGround tracking so bukkit will let us fall.