mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-30 20:37:52 +01:00
Comments + evil formatting.
This commit is contained in:
parent
7369178e7f
commit
81ec563474
@ -335,7 +335,6 @@ public class PlayerLocation {
|
|||||||
if (!onGround){
|
if (!onGround){
|
||||||
// TODO: Probably check other ids too before doing this ?
|
// TODO: Probably check other ids too before doing this ?
|
||||||
final double d0 = 0.25D;
|
final double d0 = 0.25D;
|
||||||
// TODO: Check if this uses the ounding box pool.
|
|
||||||
final AxisAlignedBB box = useBox.b(minX - d0, minY - getyOnGround() - d0, minZ - d0, maxX + d0, maxY + d0, maxZ + d0);
|
final AxisAlignedBB box = useBox.b(minX - d0, minY - getyOnGround() - d0, minZ - d0, maxX + d0, maxY + d0, maxZ + d0);
|
||||||
@SuppressWarnings("rawtypes")
|
@SuppressWarnings("rawtypes")
|
||||||
List list = worldServer.getEntities(entity, box);
|
List list = worldServer.getEntities(entity, box);
|
||||||
@ -498,8 +497,7 @@ public class PlayerLocation {
|
|||||||
typeId = typeIdBelow = data = null;
|
typeId = typeIdBelow = data = null;
|
||||||
aboveStairs = inLava = inWater = inWeb = onGround = onIce = onLadder = passable = null;
|
aboveStairs = inLava = inWater = inWeb = onGround = onIce = onLadder = passable = null;
|
||||||
|
|
||||||
// TODO: consider blockCache.setAccess? <- currently rather not, because
|
// TODO: Consider blockCache.setAccess? <- currently rather not, because it might be anything.
|
||||||
// it might be anything.
|
|
||||||
|
|
||||||
this.setyOnGround(yFreedom);
|
this.setyOnGround(yFreedom);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user