mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Level::handleMaterialAcceleration uses materials now
This commit is contained in:
parent
5e613268ab
commit
6c7bcf014b
4 changed files with 13 additions and 5 deletions
|
|
@ -174,7 +174,7 @@ class ItemEntity extends Entity{
|
|||
}
|
||||
|
||||
public function handleWaterMovement(){
|
||||
return $this->level->handleMaterialAcceleration($this->boundingBox, 0, $this);
|
||||
return $this->level->handleMaterialAcceleration($this->boundingBox, Material::$water, $this);
|
||||
}
|
||||
|
||||
public function updateEntityMovement(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue