Skip to content

Commit cf90a7b

Browse files
committed
Improve timings output
GitOrigin-RevId: 367d8fbef9fe9c6cf93d745a5a5954607891c587
1 parent 990af8b commit cf90a7b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/us/mcparks/showscript/showscript/framework/schedulers/ShowScheduler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public interface ShowScheduler extends Runnable {
1919

2020

2121
default MCTiming getTiming() {
22-
return TimingManager.of(Main.getPlugin(Main.class)).of(getClass().getSimpleName() + " - " + getName(), Main.baseTiming);
22+
return TimingManager.of(Main.getPlugin(Main.class)).of(getName());
2323
}
2424

2525

src/us/mcparks/showscript/showscript/framework/schedulers/TimecodeShowScheduler.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,8 @@ public void run() {
9191
// Get actions for this tick, execute each
9292
List<ShowAction> actions = show.getNextActions();
9393
for (ShowAction action : actions) {
94-
try (MCTiming actionTiming = Main.timingManager.of(action.toString(), timing)) {
9594
//System.out.println("executing " + actions.size() + " actions for timecode " + next + " at time " + timecode + " for show " + name + " with recursion depth " + recursionDepth);
9695
executeShowAction(action);
97-
}
9896
}
9997
} else {
10098
setTimeToWait();

0 commit comments

Comments
 (0)