Skip to content

Commit

Permalink
fix lake and snow generation
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMatrix committed Jun 7, 2021
1 parent 2635acc commit 5fa1890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/cloudburstmc/api/block/BlockType.java
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public boolean isReplaceable() {
}

public boolean isTransparent() {
return false;
return BlockCategories.inCategory(this, BlockCategory.TRANSPARENT);
}

public int getTranslucency() {
Expand All @@ -169,7 +169,7 @@ public int getFilterLevel() {
}

public boolean isSolid() {
return true;
return BlockCategories.inCategory(this, BlockCategory.SOLID);
}

public boolean isDiggable() {
Expand Down

0 comments on commit 5fa1890

Please sign in to comment.