Added forced position strong check for Player

This commit is contained in:
Shoghi Cervantes
2014-09-16 00:32:03 +02:00
parent 50b2f55583
commit 44a30b7fac
3 changed files with 81 additions and 1 deletions

View File

@@ -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;