mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +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
|
|
@ -7,14 +7,14 @@ class ItemShovel extends ItemTool
|
|||
}
|
||||
|
||||
public function getLevel(){
|
||||
return match ($this->id) {
|
||||
WOODEN_SHOVEL => 1,
|
||||
GOLDEN_SHOVEL => 2,
|
||||
STONE_SHOVEL => 3,
|
||||
IRON_SHOVEL => 4,
|
||||
DIAMOND_SHOVEL => 5,
|
||||
default => false,
|
||||
};
|
||||
return match ($this->id) {
|
||||
WOODEN_SHOVEL => 1,
|
||||
GOLDEN_SHOVEL => 2,
|
||||
STONE_SHOVEL => 3,
|
||||
IRON_SHOVEL => 4,
|
||||
DIAMOND_SHOVEL => 5,
|
||||
default => false,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue