MovingBlocks/Terasology — pull request #1114 by Josharias (2014-05-27 00:16:19+00:00)
Title: Account for center aligned blocks for OnEnterBlockEvent

When converting Vector3f to Vector3i, one must account for the fact that blocks are center aligned on whole numbers. Being inside a block means the float values will be +-0.5 on either side of the whole number.
This fixes the odd breathing behavior underwater where you can get close to an underwater wall and "breathe".
Fixes #1112