mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-18 19:55:33 +00:00
Do not update water
This commit is contained in:
parent
c3517a4a49
commit
f7abb6f909
@ -37,6 +37,7 @@ class WaterBlock extends LiquidBlock{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function onUpdate($type){
|
public function onUpdate($type){
|
||||||
|
return false;
|
||||||
$newId = $this->id;
|
$newId = $this->id;
|
||||||
$level = $this->meta & 0x07;
|
$level = $this->meta & 0x07;
|
||||||
if($type !== BLOCK_UPDATE_NORMAL){
|
if($type !== BLOCK_UPDATE_NORMAL){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user