mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 08:27:45 +00:00
Drawn indents for the very first brace level
This commit is contained in:
1 parent
02be805c14
commit
2f6e8b9408
1 file changed
+2
-2
@@ -169,8 +169,8 @@ public class GuiScriptTextArea extends GuiNpcTextField {
|
||||
int closeLine = span[2];
|
||||
int depth = span.length > 3 ? span[3] : originalDepth;
|
||||
// Skip top-level (depth 1) using the original depth to avoid hiding nested guides when adjusted
|
||||
if (originalDepth <= 1)
|
||||
continue;
|
||||
//if (originalDepth <= 1)
|
||||
//continue;
|
||||
int startLine = openLine + 1; // start under the opening brace
|
||||
int endLine = closeLine - 1; // stop before the closing brace
|
||||
if (startLine > endLine)
|
||||
|
||||
Reference in new issue
Block a user