Permalink
Browse files

Can't query the row directly

  • Loading branch information...
me4502 committed Dec 28, 2018
1 parent 59f78b3 commit 862b63d43a3f7711b394b49cf5af2883369db012
Showing with 2 additions and 1 deletion.
  1. +2 −1 worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockState.java
@@ -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

0 comments on commit 862b63d

Please sign in to comment.