Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 18:10:08 +01:00
idk what I was doing there
Dieser Commit ist enthalten in:
Ursprung
faa63b0c35
Commit
26f073faa2
@ -84,18 +84,12 @@ public class ApplyBrushCommands {
|
||||
);
|
||||
|
||||
builder.condition(new PermissionCondition(ImmutableSet.of("worldedit.brush.apply")));
|
||||
builder.addParts(REGION_FACTORY, RADIUS);
|
||||
builder.addPart(SubCommandPart.builder(TranslatableComponent.of("type"), TextComponent.of("Type of brush to use"))
|
||||
.withCommands(manager.getAllCommands().collect(Collectors.toList()))
|
||||
.required()
|
||||
.build());
|
||||
builder.addParts(REGION_FACTORY, RADIUS);
|
||||
builder.action(new org.enginehub.piston.Command.Action() {
|
||||
@Override
|
||||
public Object run(CommandParameters commandParameters) throws Exception {
|
||||
System.out.println("Action " + commandParameters);
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
@ -115,7 +109,6 @@ public class ApplyBrushCommands {
|
||||
Player player, LocalSession localSession,
|
||||
@Arg(desc = "The type of tree to plant")
|
||||
TreeGenerator.TreeType type) throws WorldEditException {
|
||||
System.out.println("FOREST");
|
||||
setApplyBrush(parameters, player, localSession, new TreeGeneratorFactory(type));
|
||||
}
|
||||
|
||||
|
@ -470,7 +470,7 @@ public final class PlatformCommandManager {
|
||||
);
|
||||
registerSubCommands(
|
||||
"cfi",
|
||||
ImmutableList.of(),
|
||||
ImmutableList.of("/cfi"),
|
||||
"CFI commands",
|
||||
CFICommandsRegistration.builder(),
|
||||
new CFICommands(worldEdit)
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren