Skip to content

Commit ef05558

Browse files
committed
Add comments
GitOrigin-RevId: 2aabbe39ec033d17bc0593d48ad9a6ae34f08fb8
1 parent f12aa2f commit ef05558

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/us/mcparks/showscript/Main.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,11 @@ private static void searchFilesRecursively(File root, File directory, List<Strin
7474
@Override
7575
public void onEnable() {
7676
DebugLogger.setLogging(true);
77-
this.rbFolder.mkdir();
7877
setupCloud();
78+
79+
// Internally, this plugin also handles a legacy command. Ask Ryan for the story on why.
7980
/* // <INTERNAL>
81+
this.rbFolder.mkdir();
8082
getCommand("rb").setExecutor(new Rebuild());
8183
// </INTERNAL> */
8284
Shows commandHandler = new Shows(this, this);
@@ -99,6 +101,7 @@ public void onEnable() {
99101
100L, 1L);
100102

101103

104+
// We evaluate _something_ to instantiate a GroovyShell now so it's cached before shows start running
102105
GroovyShowConfig.evaluator.evaluateExpression("println 'Hello, World! Warming up the Groovy engine.'");
103106

104107
}

0 commit comments

Comments
 (0)