Pattern doesn't need to be deprecated

This commit is contained in:
matt 2019-03-26 16:35:22 -04:00
parent 464719c02a
commit 9fcf805148

View File

@ -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));
} }
} }