mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
FrostedIce: Remove non-Bedrock melting behaviour (#5486)
This commit is contained in:
parent
777a901932
commit
4517948297
@ -48,12 +48,7 @@ class FrostedIce extends Ice{
|
||||
}
|
||||
|
||||
public function onNearbyBlockChange() : void{
|
||||
$world = $this->position->getWorld();
|
||||
if(!$this->checkAdjacentBlocks(2)){
|
||||
$world->useBreakOn($this->position);
|
||||
}else{
|
||||
$world->scheduleDelayedBlockUpdate($this->position, mt_rand(20, 40));
|
||||
}
|
||||
$this->position->getWorld()->scheduleDelayedBlockUpdate($this->position, mt_rand(20, 40));
|
||||
}
|
||||
|
||||
public function onRandomTick() : void{
|
||||
|
Loading…
x
Reference in New Issue
Block a user