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

Unhandled exception

Comments in 'Plugin Development' started by iksaku, Nov 20, 2014.

  1. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
    Harro! :3

    I'm having some issues when I execute code using the following function: [Available here]
    PHP:
    $entity->getTargetBlock($distance$transparent);
    I don't know if there are issues inside my code or it is related to Pocketmine, anyways, I couldn't be able to work with it since it was introduced.

    Here are the codes that throw the errors:

    Thank you in advantage! :D
    Last edited: Nov 21, 2014
  2. Sergey_D
    Offline

    Sergey_D Active Member

    Joined:
    Jan 19, 2014
    Posts:
    75
    Minecraft User:
    CLILLZ
    Read the code, variable output to the console and you'll understand what the problem is.
    P.S. Bad English.
  3. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
    Mmm... The thing is that there's only one error "[Critical] Unhand led exception running the command "jump" "
    This is a code-level error that I can't found
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    In BaseCommand.php, add a try-catch block and print the exception.
  5. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
    Can you help me to find the source problem? I will not be at home for some days and I really want to fix them, I see the release of EssentialsPE pretty near, I just need to implement homes and BOOM! New release

Share This Page

Advertisement