3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-24 18:10:08 +01:00

Pattern doesn't need to be deprecated

Dieser Commit ist enthalten in:
matt 2019-03-26 16:35:22 -04:00
Ursprung 464719c02a
Commit 9fcf805148

Datei anzeigen

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