Unhandled exception while getting the Target Block of a player #2392

iksaku opened this Issue Dec 10, 2014 · 0 comments


None yet

2 participants

iksaku commented Dec 10, 2014

There is an error when you try to use the ``getTargetBlock()` function over a Player, the following error is fired:

[CRITICAL] Unhandled exception executing command 'jump' in jump: Only variables should be passed by reference
[NOTICE] RuntimeException: "Only variables should be passed by reference" (E_STRICT) in "/src/pocketmine/entity/Living" at line 255

Line 255 of Living.php

P.S: Usage in EssentialsPE's Jump Command

@shoghicp shoghicp added the C: API label Dec 11, 2014
@shoghicp shoghicp added a commit that closed this issue Dec 12, 2014
@shoghicp shoghicp Fixed #2392 2752393
@shoghicp shoghicp closed this in 2752393 Dec 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment