Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 02:20:07 +01:00
Checkstyle.
Dieser Commit ist enthalten in:
Ursprung
9b473cecbd
Commit
692ba6fda3
@ -52,9 +52,7 @@ import com.sk89q.worldedit.world.block.BaseBlock;
|
|||||||
import com.sk89q.worldedit.world.block.BlockState;
|
import com.sk89q.worldedit.world.block.BlockState;
|
||||||
import com.sk89q.worldedit.world.block.BlockStateHolder;
|
import com.sk89q.worldedit.world.block.BlockStateHolder;
|
||||||
import com.sk89q.worldedit.world.registry.BiomeRegistry;
|
import com.sk89q.worldedit.world.registry.BiomeRegistry;
|
||||||
import sun.reflect.generics.tree.Tree;
|
|
||||||
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -85,7 +83,7 @@ public class WorldEditBinding extends BindingHelper {
|
|||||||
@BindingMatch(classifier = Selection.class,
|
@BindingMatch(classifier = Selection.class,
|
||||||
type = Region.class,
|
type = Region.class,
|
||||||
behavior = BindingBehavior.PROVIDES)
|
behavior = BindingBehavior.PROVIDES)
|
||||||
public Object getSelection(ArgumentStack context, Selection selection) throws IncompleteRegionException, ParameterException {
|
public Object getSelection(ArgumentStack context, @SuppressWarnings("unused") Selection selection) throws IncompleteRegionException, ParameterException {
|
||||||
Player sender = getPlayer(context);
|
Player sender = getPlayer(context);
|
||||||
LocalSession session = worldEdit.getSessionManager().get(sender);
|
LocalSession session = worldEdit.getSessionManager().get(sender);
|
||||||
return session.getSelection(sender.getWorld());
|
return session.getSelection(sender.getWorld());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren