diff --git a/src/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java b/src/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java index 9f7bf548..2b8294b2 100644 --- a/src/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java +++ b/src/fr/neatmonster/nocheatplus/utilities/PlayerLocation.java @@ -211,7 +211,7 @@ public class PlayerLocation { if (aboveStairs == null){ // aboveStairs = BlockProperties.isStairs(getTypeIdBelow().intValue()); // TODO: maybe distinguish upside down stairs and normal stairs ! - final double diff = getWidth(); + final double diff = getWidth() + 0.001; aboveStairs = BlockProperties.collides(getBlockAccess(), x - diff, y + 0.25, z - diff, x + diff, y - 1.0, z + diff, BlockProperties.F_STAIRS); } return aboveStairs;