mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Falling Entities, better Physics [not final]
This commit is contained in:
parent
cb03daf28a
commit
58fd67d2ed
8 changed files with 125 additions and 32 deletions
|
|
@ -242,8 +242,8 @@ class Level{
|
|||
"block" => $block,
|
||||
));*/
|
||||
if($update === true){
|
||||
$this->server->api->block->blockUpdate($block, BLOCK_UPDATE_NORMAL); //????? water?
|
||||
$this->server->api->block->blockUpdateAround($pos, BLOCK_UPDATE_NORMAL);
|
||||
$this->server->api->block->scheduleBlockUpdate($block, 1, BLOCK_UPDATE_NORMAL); //????? water?
|
||||
$this->server->api->block->blockUpdateAround($pos, BLOCK_UPDATE_NORMAL, 1);
|
||||
}
|
||||
if($tiles === true){
|
||||
if(($t = $this->server->api->tileentity->get($pos)) !== false){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue