geforkt von Mirrors/FastAsyncWorldEdit
Ursprung
2ab207cfe9
Commit
5f83643d88
@ -344,7 +344,6 @@ public class BrushCommands {
|
|||||||
@Switch(name = 'd', desc = "sags the catenary toward the facing direction")
|
@Switch(name = 'd', desc = "sags the catenary toward the facing direction")
|
||||||
boolean facingDirection) throws WorldEditException {
|
boolean facingDirection) throws WorldEditException {
|
||||||
worldEdit.checkMaxBrushRadius(radius);
|
worldEdit.checkMaxBrushRadius(radius);
|
||||||
Brush brush = new CatenaryBrush(shell, select, facingDirection, lengthFactor);
|
|
||||||
set(context, new CatenaryBrush(shell, select, facingDirection, lengthFactor))
|
set(context, new CatenaryBrush(shell, select, facingDirection, lengthFactor))
|
||||||
.setSize(radius).setFill(fill);
|
.setSize(radius).setFill(fill);
|
||||||
}
|
}
|
||||||
|
@ -284,7 +284,7 @@ public class ToolUtilCommands {
|
|||||||
)
|
)
|
||||||
@CommandPermissions("worldedit.brush.targetoffset")
|
@CommandPermissions("worldedit.brush.targetoffset")
|
||||||
public void targetOffset(Player player, EditSession editSession, LocalSession session,
|
public void targetOffset(Player player, EditSession editSession, LocalSession session,
|
||||||
int offset) throws WorldEditException {
|
@Arg(name = "offset", desc = "offset", def = "0") int offset) throws WorldEditException {
|
||||||
BrushTool tool = session.getBrushTool(player, false);
|
BrushTool tool = session.getBrushTool(player, false);
|
||||||
if (tool == null) {
|
if (tool == null) {
|
||||||
player.print(TranslatableComponent.of("fawe.worldedit.brush.brush.none"));
|
player.print(TranslatableComponent.of("fawe.worldedit.brush.brush.none"));
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren