Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Remove deprecated Region#contract/expand(Vector) methods
Those methods hid varargs versions which are not deprecated
Dieser Commit ist enthalten in:
Ursprung
574f162019
Commit
da400ffdeb
@ -271,7 +271,6 @@ public class SelectionCommands {
|
|||||||
max = 3
|
max = 3
|
||||||
)
|
)
|
||||||
@CommandPermissions("worldedit.selection.expand")
|
@CommandPermissions("worldedit.selection.expand")
|
||||||
@SuppressWarnings("deprecation")
|
|
||||||
public void expand(CommandContext args, LocalSession session, LocalPlayer player,
|
public void expand(CommandContext args, LocalSession session, LocalPlayer player,
|
||||||
EditSession editSession) throws WorldEditException {
|
EditSession editSession) throws WorldEditException {
|
||||||
|
|
||||||
@ -348,7 +347,6 @@ public class SelectionCommands {
|
|||||||
max = 3
|
max = 3
|
||||||
)
|
)
|
||||||
@CommandPermissions("worldedit.selection.contract")
|
@CommandPermissions("worldedit.selection.contract")
|
||||||
@SuppressWarnings("deprecation")
|
|
||||||
public void contract(CommandContext args, LocalSession session, LocalPlayer player,
|
public void contract(CommandContext args, LocalSession session, LocalPlayer player,
|
||||||
EditSession editSession) throws WorldEditException {
|
EditSession editSession) throws WorldEditException {
|
||||||
|
|
||||||
|
@ -57,16 +57,6 @@ public abstract class AbstractRegion implements Region {
|
|||||||
this.world = world;
|
this.world = world;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
|
||||||
public void expand(Vector change) throws RegionOperationException {
|
|
||||||
expand(new Vector[] { change });
|
|
||||||
}
|
|
||||||
|
|
||||||
@Deprecated
|
|
||||||
public void contract(Vector change) throws RegionOperationException {
|
|
||||||
contract(new Vector[] { change });
|
|
||||||
}
|
|
||||||
|
|
||||||
public void shift(Vector change) throws RegionOperationException {
|
public void shift(Vector change) throws RegionOperationException {
|
||||||
expand(change);
|
expand(change);
|
||||||
contract(change);
|
contract(change);
|
||||||
|
@ -81,16 +81,6 @@ public interface Region extends Iterable<BlockVector>, Cloneable {
|
|||||||
*/
|
*/
|
||||||
public int getLength();
|
public int getLength();
|
||||||
|
|
||||||
/**
|
|
||||||
* Expand the region.
|
|
||||||
*
|
|
||||||
* @deprecated will be seamlessly replaced by {@link #expand(Vector...)
|
|
||||||
* @param change
|
|
||||||
* @throws RegionOperationException
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public void expand(Vector change) throws RegionOperationException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Expand the region.
|
* Expand the region.
|
||||||
*
|
*
|
||||||
@ -99,16 +89,6 @@ public interface Region extends Iterable<BlockVector>, Cloneable {
|
|||||||
*/
|
*/
|
||||||
public void expand(Vector... changes) throws RegionOperationException;
|
public void expand(Vector... changes) throws RegionOperationException;
|
||||||
|
|
||||||
/**
|
|
||||||
* Contract the region.
|
|
||||||
*
|
|
||||||
* @deprecated will be seamlessly replaced by {@link #contract(Vector...)
|
|
||||||
* @param change
|
|
||||||
* @throws RegionOperationException
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public void contract(Vector change) throws RegionOperationException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contract the region.
|
* Contract the region.
|
||||||
*
|
*
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren