mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
Added forced position strong check for Player
This commit is contained in:
@@ -729,6 +729,7 @@ abstract class Entity extends Position implements Metadatable{
|
||||
|
||||
$this->ySize *= 0.4;
|
||||
|
||||
/*
|
||||
if($this->isColliding){ //With cobweb?
|
||||
$this->isColliding = false;
|
||||
$dx *= 0.25;
|
||||
@@ -738,6 +739,7 @@ abstract class Entity extends Position implements Metadatable{
|
||||
$this->motionY = 0;
|
||||
$this->motionZ = 0;
|
||||
}
|
||||
*/
|
||||
|
||||
$movX = $dx;
|
||||
$movY = $dy;
|
||||
|
Reference in New Issue
Block a user