diff options
author | Wesley Wolfe <weswolf@aol.com> | 2012-09-28 02:39:22 -0500 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2012-09-28 02:39:22 -0500 |
commit | fc0e35a67c389bd1e7477460eeafcbaacf736d19 (patch) | |
tree | 4042b407f55af93f24973ae665c15a9a06614e55 /src/main/java/org | |
parent | 1d75bd35cee1f4b1670c7a1e1eeee19ba6279bc9 (diff) | |
download | craftbukkit-fc0e35a67c389bd1e7477460eeafcbaacf736d19.tar craftbukkit-fc0e35a67c389bd1e7477460eeafcbaacf736d19.tar.gz craftbukkit-fc0e35a67c389bd1e7477460eeafcbaacf736d19.tar.lz craftbukkit-fc0e35a67c389bd1e7477460eeafcbaacf736d19.tar.xz craftbukkit-fc0e35a67c389bd1e7477460eeafcbaacf736d19.zip |
Fix typo causing a task to be repeated in debug. Addresses BUKKIT-2549
An internal method for making the debug output for CraftScheduler's
async tasks was erroneously using the 'this' reference when the loop
should be referencing the current task.
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/scheduler/CraftAsyncDebugger.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/scheduler/CraftAsyncDebugger.java b/src/main/java/org/bukkit/craftbukkit/scheduler/CraftAsyncDebugger.java index 2899bacf..d80ae50d 100644 --- a/src/main/java/org/bukkit/craftbukkit/scheduler/CraftAsyncDebugger.java +++ b/src/main/java/org/bukkit/craftbukkit/scheduler/CraftAsyncDebugger.java @@ -30,7 +30,7 @@ class CraftAsyncDebugger { StringBuilder debugTo(final StringBuilder string) { for (CraftAsyncDebugger next = this; next != null; next = next.next) { - string.append(plugin.getDescription().getName()).append(':').append(clazz.getName()).append('@').append(expiry).append(','); + string.append(next.plugin.getDescription().getName()).append(':').append(next.clazz.getName()).append('@').append(next.expiry).append(','); } return string; } |