mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
fixed a rare warning in console
This commit is contained in:
parent
eb8a11739a
commit
0cfc1e9587
3 changed files with 15 additions and 2 deletions
|
|
@ -219,6 +219,10 @@ class Entity extends Position
|
|||
$this->speedZ += $vZ;
|
||||
}
|
||||
|
||||
public function isPushable(){
|
||||
return false;
|
||||
}
|
||||
|
||||
public function applyCollision(Entity $collided){
|
||||
if(!($this->isPlayer() && $collided->isPlayer()) && $this->eid != $collided->eid){
|
||||
$diffX = $collided->x - $this->x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue