Class HandlerTracer

java.lang.Object
com.sk89q.worldguard.bukkit.util.HandlerTracer

public class HandlerTracer extends Object
Traces the owner of a handler.
  • Constructor Details

    • HandlerTracer

      public HandlerTracer(org.bukkit.event.Event event)
  • Method Details

    • detectPlugin

      @Nullable public org.bukkit.plugin.Plugin detectPlugin(StackTraceElement[] elements)
      Attempt to detect the cause of an event that was fired.
      Parameters:
      elements - The stack trace
      Returns:
      The plugin, if found