Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Error with callEvent

Comments in 'Plugin Development' started by Sergey_D, Nov 16, 2014.

  1. Sergey_D
    Offline

    Sergey_D Active Member

    Joined:
    Jan 19, 2014
    Posts:
    75
    Minecraft User:
    CLILLZ
    I create a custom event,but when I want call my event I have "unhandled experience executing command 'command'".
    PHP:
    $this->getServer()->getPluginManager()->callEvent($e = new SomeEvent($this$s->getPlayer()));
    P.S. Bad English.
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    The event handler has some errors.

Share This Page

Advertisement