Skip to content

Commit

Permalink
Fix for snowmen
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Jul 17, 2024
1 parent 6dedd50 commit 40fdf28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ private void detectSnowman(Location l) {
if (body.getType().equals(Material.SNOW_BLOCK)) {
// Check for head
Block head = body.getRelative(bf);
if (head.getType().equals(Material.CARVED_PUMPKIN)) {
if (head.getType() == Material.CARVED_PUMPKIN || head.getType() == Material.JACK_O_LANTERN) {
// Erase
addon.getBlockLimitListener().removeBlock(body);
addon.getBlockLimitListener().removeBlock(head);
Expand Down

0 comments on commit 40fdf28

Please sign in to comment.