fix: fix regex block masking (#2242)

This commit is contained in:
Jordan
2023-06-22 11:24:03 +01:00
committed by GitHub
parent 88533118bc
commit d961aa91bc
3 changed files with 156 additions and 224 deletions

View File

@ -182,7 +182,7 @@ public class FuzzyBlockState extends BlockState {
checkNotNull(property);
checkNotNull(value);
checkNotNull(type, "The type must be set before the properties!");
type.getProperty(property.getName()); // Verify the property is valid for this type
checkNotNull(type.getProperty(property.getName())); // Verify the property is valid for this type
values.put(property, value);
return this;
}