Skip to content

Commit

Permalink
Remove this bit as it alters behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Sep 3, 2023
1 parent 84cde9a commit 9c614cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public BaseBlock getFullBlock(BlockVector3 position) {
@Override
public <T extends BlockStateHolder<T>> boolean setBlock(BlockVector3 location, T block) throws WorldEditException {
if (super.setBlock(location, block)) {
if (block instanceof BaseBlock && lastFullBlock != null && lastFullBlock.position.equals(location)) {
if (lastFullBlock != null && lastFullBlock.position.equals(location)) {
this.lastFullBlock = new CachedBlock<>(location, block.toBaseBlock());
}
if (lastBlock != null && lastBlock.position.equals(location)) {
Expand Down

0 comments on commit 9c614cd

Please sign in to comment.