mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
hopefully replaced spaces with tabs everywhere
This commit is contained in:
parent
ed4f820ff3
commit
89eb7097a3
42 changed files with 324 additions and 324 deletions
|
|
@ -11,14 +11,14 @@ class MossStoneBlock extends SolidBlock{
|
|||
if(($player->gamemode & 0x01) === 0x01){
|
||||
return 0.20;
|
||||
}
|
||||
return match ($item->getPickaxeLevel()) {
|
||||
5 => 0.4,
|
||||
4 => 0.5,
|
||||
3 => 0.75,
|
||||
2 => 0.25,
|
||||
1 => 1.5,
|
||||
default => 10,
|
||||
};
|
||||
return match ($item->getPickaxeLevel()) {
|
||||
5 => 0.4,
|
||||
4 => 0.5,
|
||||
3 => 0.75,
|
||||
2 => 0.25,
|
||||
1 => 1.5,
|
||||
default => 10,
|
||||
};
|
||||
}
|
||||
|
||||
public function getDrops(Item $item, Player $player){
|
||||
|
|
@ -30,4 +30,4 @@ class MossStoneBlock extends SolidBlock{
|
|||
return array();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue