mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-10 17:57:37 +00:00
Pattern doesn't need to be deprecated
This commit is contained in:
parent
464719c02a
commit
9fcf805148
@ -34,10 +34,8 @@ import com.sk89q.worldedit.world.block.BlockState;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a {@link BlockStateHolder} for a given position.
|
* Returns a {@link BlockStateHolder} for a given position.
|
||||||
* @deprecated Use FawePattern
|
|
||||||
*/
|
*/
|
||||||
@Link(clazz = UtilityCommands.class, value = "patterns")
|
@Link(clazz = UtilityCommands.class, value = "patterns")
|
||||||
@Deprecated
|
|
||||||
public interface Pattern{
|
public interface Pattern{
|
||||||
|
|
||||||
// @Override
|
// @Override
|
||||||
@ -61,4 +59,4 @@ public interface Pattern{
|
|||||||
default boolean apply(Extent extent, BlockVector3 get, BlockVector3 set) throws WorldEditException {
|
default boolean apply(Extent extent, BlockVector3 get, BlockVector3 set) throws WorldEditException {
|
||||||
return extent.setBlock(set, apply(get));
|
return extent.setBlock(set, apply(get));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user