mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-02-05 13:00:30 +08:00
Can't query the row directly
This commit is contained in:
parent
59f78b3cdf
commit
862b63d43a
@ -129,7 +129,8 @@ public BlockType getBlockType() {
|
||||
|
||||
@Override
|
||||
public <V> BlockState with(final Property<V> property, final V value) {
|
||||
return states.row(property).getOrDefault(value, this);
|
||||
BlockState result = states.get(property, value);
|
||||
return result == null ? this : result;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user