mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 19:50:37 +00:00
Add negation to isSolid() in GeneralMethods
This commit is contained in:
parent
c0302bdd5b
commit
46255b6a3e
1 changed files with 1 additions and 1 deletions
|
@ -1472,7 +1472,7 @@ public class GeneralMethods {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isSolid(Block block) {
|
public static boolean isSolid(Block block) {
|
||||||
return Arrays.asList(nonOpaque).contains(block.getTypeId());
|
return !Arrays.asList(nonOpaque).contains(block.getTypeId());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isSubAbility(String ability) {
|
public static boolean isSubAbility(String ability) {
|
||||||
|
|
Loading…
Reference in a new issue