Skip to content

Commit 2202374

Browse files
committed
Fixed PalmSpecies waning wrong family incorrectly
1 parent cc419c1 commit 2202374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ferreusveritas/dynamictrees/tree/species/PalmSpecies.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class PalmSpecies extends Species {
3636

3737
public PalmSpecies(ResourceLocation name, Family family, LeavesProperties leavesProperties) {
3838
super(name, family, leavesProperties);
39-
if (!(family instanceof MangroveFamily)) {
39+
if (!(family instanceof PalmFamily)) {
4040
LogManager.getLogger().warn("Family " + family.getRegistryName() + " for palm species " + getRegistryName() + " is not of type "+ PalmFamily.class);
4141
}
4242
if (!(leavesProperties instanceof PalmLeavesProperties))

0 commit comments

Comments
 (0)