mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49: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
|
|
@ -16,14 +16,14 @@ abstract class ItemHoe extends ItemTool
|
|||
}
|
||||
|
||||
public function getLevel(){
|
||||
return match ($this->id) {
|
||||
WOODEN_HOE => 1,
|
||||
GOLDEN_HOE => 2,
|
||||
STONE_HOE => 3,
|
||||
IRON_HOE => 4,
|
||||
DIAMOND_HOE => 5,
|
||||
default => false,
|
||||
};
|
||||
return match ($this->id) {
|
||||
WOODEN_HOE => 1,
|
||||
GOLDEN_HOE => 2,
|
||||
STONE_HOE => 3,
|
||||
IRON_HOE => 4,
|
||||
DIAMOND_HOE => 5,
|
||||
default => false,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue