10-02-2016, 03:17 AM
(This post was last modified: 10-02-2016, 03:19 AM by PureTryOut.)
I have a bit of code, which up to today has always worked fine. It uses the hook HOOK_PLAYER_JOINED to run a bit of code every time a player joins.
However, after updating Cuberite today (note, I haven't updated Cuberite for more then 2 weeks before this), this hook doesn't seem to be called anymore. Even if only run a simple "LOG('test');", it doesn't get executed.
The strange thing is, that it does run this hook if I reload the server (not restart) with a player connected.
Has anything in this hook changed, or would this be a bug? Using a self compiled Cuberite, commit b268db4, Linux. Connected clients are 1.10, but it doesn't seem to matter what version they connect with.
However, after updating Cuberite today (note, I haven't updated Cuberite for more then 2 weeks before this), this hook doesn't seem to be called anymore. Even if only run a simple "LOG('test');", it doesn't get executed.
The strange thing is, that it does run this hook if I reload the server (not restart) with a player connected.
Has anything in this hook changed, or would this be a bug? Using a self compiled Cuberite, commit b268db4, Linux. Connected clients are 1.10, but it doesn't seem to matter what version they connect with.