3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-09-19 22:30:05 +02:00

Can't query the row directly

Dieser Commit ist enthalten in:
Matthew Miller 2018-12-28 18:06:41 +10:00
Ursprung 59f78b3cdf
Commit 862b63d43a

Datei anzeigen

@ -129,7 +129,8 @@ public class BlockState implements BlockStateHolder<BlockState> {
@Override @Override
public <V> BlockState with(final Property<V> property, final V value) { 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 @Override