mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Correct drops for Snow and Cake
This commit is contained in:
parent
28f6a964d4
commit
ab3fcfc148
4 changed files with 30 additions and 2 deletions
|
|
@ -41,11 +41,11 @@ class BucketItem extends Item{
|
|||
return true;
|
||||
}
|
||||
}elseif($this->meta === STILL_WATER){
|
||||
if($block->getID() === AIR){
|
||||
//if($block->getID() === AIR){
|
||||
$level->setBlock($block, new StillWaterBLock());
|
||||
$this->meta = 0;
|
||||
return true;
|
||||
}
|
||||
//}
|
||||
}elseif($this->meta === STILL_LAVA){
|
||||
if($block->getID() === AIR){
|
||||
$level->setBlock($block, new StillLavaBlock());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue