mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue