Skip to content

Commit

Permalink
server/block: Fix Dead Bush placement on Grass/Mud
Browse files Browse the repository at this point in the history
  • Loading branch information
DaPigGuy committed Dec 29, 2024
1 parent 53948e3 commit 3dd550f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/block/grass.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func init() {
// SoilFor ...
func (g Grass) SoilFor(block world.Block) bool {
switch block.(type) {
case ShortGrass, Fern, DoubleTallGrass, Flower, DoubleFlower, NetherSprouts, PinkPetals, SugarCane:
case ShortGrass, Fern, DoubleTallGrass, Flower, DoubleFlower, NetherSprouts, PinkPetals, SugarCane, DeadBush:
return true
}
return false
Expand Down
2 changes: 1 addition & 1 deletion server/block/mud.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type Mud struct {
// SoilFor ...
func (Mud) SoilFor(block world.Block) bool {
switch block.(type) {
case ShortGrass, Fern, DoubleTallGrass, Flower, DoubleFlower, NetherSprouts, PinkPetals:
case ShortGrass, Fern, DoubleTallGrass, Flower, DoubleFlower, NetherSprouts, PinkPetals, DeadBush:
return true
}
return false
Expand Down

0 comments on commit 3dd550f

Please sign in to comment.