geforkt von Mirrors/FastAsyncWorldEdit
Check radius instead of diameter for clipboard brush.
This brings it more in line with other brushes in terms of allowable size.
Dieser Commit ist enthalten in:
Ursprung
5de8e0852c
Commit
2f734d4570
@ -146,9 +146,9 @@ public class BrushCommands {
|
||||
|
||||
BlockVector3 size = clipboard.getDimensions();
|
||||
|
||||
worldEdit.checkMaxBrushRadius(size.getBlockX());
|
||||
worldEdit.checkMaxBrushRadius(size.getBlockY());
|
||||
worldEdit.checkMaxBrushRadius(size.getBlockZ());
|
||||
worldEdit.checkMaxBrushRadius(size.getBlockX() / 2D - 1);
|
||||
worldEdit.checkMaxBrushRadius(size.getBlockY() / 2D - 1);
|
||||
worldEdit.checkMaxBrushRadius(size.getBlockZ() / 2D - 1);
|
||||
|
||||
BrushTool tool = session.getBrushTool(player.getItemInHand(HandSide.MAIN_HAND).getType());
|
||||
tool.setBrush(new ClipboardBrush(holder, ignoreAir, usingOrigin), "worldedit.brush.clipboard");
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren