Package com.sk89q.worldguard.bukkit.util
Class HandlerTracer
java.lang.Object
com.sk89q.worldguard.bukkit.util.HandlerTracer
Traces the owner of a handler.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.plugin.Plugin
detectPlugin
(StackTraceElement[] elements) Attempt to detect the cause of an event that was fired.
-
Constructor Details
-
HandlerTracer
public HandlerTracer(org.bukkit.event.Event event)
-
-
Method Details
-
detectPlugin
Attempt to detect the cause of an event that was fired.- Parameters:
elements
- The stack trace- Returns:
- The plugin, if found
-