Closed eggohito closed 2 years ago
The idea to make the condition return true if the block state contains the specified property but no specific condition for the property's value is specified is good, however your change makes the condition always only check for the presence of the property, and always disregard the specified desired values. I'll reject this PR, as I've implemented this simple change myself in https://github.com/apace100/apoli/commit/f20ac19ec8d113c90000d9858395c804acddffe3.
Thank you, Apace! I did not realize that return
will end the entire method, ignoring the other checks
This PR replaces the
break;
statement in line 140 toreturn true;
so that it'll return true if the block state exists in the block