Changed visibility for some listeners with annotation.

Thanks Sdw.
This commit is contained in:
MobiusDev
2017-01-12 07:35:59 +00:00
parent 7e683fd1f7
commit bb2e75b06f
3 changed files with 6 additions and 5 deletions

View File

@@ -150,7 +150,7 @@ public class ListenerTest extends AbstractNpcAI
*/
@RegisterEvent(EventType.ON_PLAYER_LOGIN)
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
private void onPlayerLogin(OnPlayerLogin event)
public void OnPlayerLogin(OnPlayerLogin event)
{
_log.info(getClass().getSimpleName() + ": Player: " + event.getActiveChar() + " has logged in!");
}