mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Don't consider players walking on slabs/steps flying.
This commit is contained in:
1 parent
244a2c1c7c
commit
0cbd2c4bd4
1 file changed
+4
@@ -338,6 +338,10 @@ public class PlayerListener implements Listener {
|
||||
|
||||
public boolean canStand(Block block)
|
||||
{
|
||||
if(block.getRelative(BlockFace.UP).getType() == Material.STEP)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if(block.isLiquid())
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user