mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-14 12:41:58 +00:00
Configurable code formatting (Indentation + brace position)
This commit is contained in:
@@ -39,12 +39,9 @@ public class BlockItem extends GraphTargetItem {
|
||||
|
||||
@Override
|
||||
public GraphTextWriter appendTo(GraphTextWriter writer, LocalData localData) throws InterruptedException {
|
||||
writer.append("{").newLine();
|
||||
writer.indent();
|
||||
writer.startBlock();
|
||||
Graph.graphToString(commands, writer, localData);
|
||||
writer.newLine();
|
||||
writer.unindent();
|
||||
return writer.append("}");
|
||||
return writer.endBlock();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user