05-24-2017, 02:29 PM
(This post was last modified: 05-24-2017, 02:49 PM by nrgjrteherh435.)
For whatever reason, When I use this function cuberite crashes:
![[Image: SmvQwhz.png]](http://i.imgur.com/SmvQwhz.png)
Cuberite crashes on launch. I thought this would be a simple task... Any help would be greatly appreciated!
EDIT:
I fixed it by calling HOOK_SPAWNING_ENTITY instead of HOOK_SPAWNED_ENTITY and doing this:
![[Image: SSfWNtW.png]](http://i.imgur.com/SSfWNtW.png)
But there's still no merit for a crash from the former method.
![[Image: SmvQwhz.png]](http://i.imgur.com/SmvQwhz.png)
Cuberite crashes on launch. I thought this would be a simple task... Any help would be greatly appreciated!

EDIT:
I fixed it by calling HOOK_SPAWNING_ENTITY instead of HOOK_SPAWNED_ENTITY and doing this:
![[Image: SSfWNtW.png]](http://i.imgur.com/SSfWNtW.png)
But there's still no merit for a crash from the former method.