mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-22 19:06:35 +00:00
Fix for fly kick when player is standing on Fence
Fix for Issue #631 (Player kicked for flying when standing on fence).
This commit is contained in:
parent
e67b583cbe
commit
5975bd9d32
@ -400,7 +400,7 @@ class Entity extends Position{
|
|||||||
$support = true;
|
$support = true;
|
||||||
$isFlying = false;
|
$isFlying = false;
|
||||||
break;
|
break;
|
||||||
}elseif(($b instanceof LiquidBlock) or $b->getID() === COBWEB or $b->getID() === LADDER){
|
}elseif(($b instanceof LiquidBlock) or $b->getID() === COBWEB or $b->getID() === LADDER or $b->getID() === FENCE){
|
||||||
$isFlying = false;
|
$isFlying = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user