3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-24 18:10:08 +01:00
Dieser Commit ist enthalten in:
wizjany 2019-03-22 14:03:43 -04:00
Ursprung 9b473cecbd
Commit 692ba6fda3

Datei anzeigen

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