Skip to content

Commit

Permalink
block/wood_type.go: Rename Mangrove() and Cherry() to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
TwistedAsylumMC committed Nov 16, 2024
1 parent a6d2f0e commit a2037f7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions server/block/wood_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ func WarpedWood() WoodType {
return WoodType{7}
}

// Mangrove returns mangrove wood material.
func Mangrove() WoodType {
// MangroveWood returns mangrove wood material.
func MangroveWood() WoodType {
return WoodType{8}
}

// Cherry returns cherry wood material.
func Cherry() WoodType {
// CherryWood returns cherry wood material.
func CherryWood() WoodType {
return WoodType{9}
}

// WoodTypes returns a list of all wood types
func WoodTypes() []WoodType {
return []WoodType{OakWood(), SpruceWood(), BirchWood(), JungleWood(), AcaciaWood(), DarkOakWood(), CrimsonWood(), WarpedWood(), Mangrove(), Cherry()}
return []WoodType{OakWood(), SpruceWood(), BirchWood(), JungleWood(), AcaciaWood(), DarkOakWood(), CrimsonWood(), WarpedWood(), MangroveWood(), CherryWood()}
}

type wood uint8
Expand Down

0 comments on commit a2037f7

Please sign in to comment.