mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Bucket: Fixed appearing empty when picking up still liquids
Buckets already affected by this bug will still appear empty until used. After that they'll work fine.
This commit is contained in:
@ -48,6 +48,14 @@ class Lava extends Liquid{
|
||||
return "Lava";
|
||||
}
|
||||
|
||||
public function getStillForm() : Block{
|
||||
return BlockFactory::get(Block::STILL_LAVA, $this->meta);
|
||||
}
|
||||
|
||||
public function getFlowingForm() : Block{
|
||||
return BlockFactory::get(Block::FLOWING_LAVA, $this->meta);
|
||||
}
|
||||
|
||||
public function tickRate() : int{
|
||||
return 30;
|
||||
}
|
||||
|
Reference in New Issue
Block a user