mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 03:56:41 +00:00
some minor fixes
/br sspl - says to click same spot again to apply, clicked same spot and nothing happens /br layer - gives an error message "there was an error handling a FAWE command: [See console] /br clipboard - doesn't let me execute because of max radius of 5, however am unable to set a lower radius as there is no option for it /br butcher - tried to kill some mobs, but didn't work (nothing happened) /br splatter - tried to execute the command, nothing happened
This commit is contained in:
@ -22,6 +22,7 @@ package com.sk89q.worldedit.world.block;
|
||||
import com.sk89q.worldedit.blocks.TileEntityBlock;
|
||||
import com.sk89q.worldedit.function.pattern.FawePattern;
|
||||
import com.sk89q.jnbt.CompoundTag;
|
||||
import com.sk89q.worldedit.math.BlockVector3;
|
||||
import com.sk89q.worldedit.registry.state.Property;
|
||||
import com.sk89q.worldedit.registry.state.PropertyKey;
|
||||
import com.sk89q.worldedit.world.registry.BlockMaterial;
|
||||
@ -32,6 +33,11 @@ import java.util.stream.Collectors;
|
||||
|
||||
public interface BlockStateHolder<B extends BlockStateHolder<B>> extends FawePattern, TileEntityBlock {
|
||||
|
||||
@Override
|
||||
default BaseBlock apply(BlockVector3 position) {
|
||||
return this.toBaseBlock();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the block type
|
||||
*
|
||||
|
Reference in New Issue
Block a user