04.01.2016, 19:01
Hey again
I think that this is a bug:
If you call player.spawn on a dialog (that is showed after an e.disallow() function on PlayerRequestSpawnEvent) the PlayerSpawnEvent is called twice.
I have only one player.spawn function, only one event manager, only a
and I don't have any TogglePlayerSpectating() code, and also I do not have any filterscript.
By the way I got this:
As you can see the modelId is equal to zero!
I think that this is a bug:
If you call player.spawn on a dialog (that is showed after an e.disallow() function on PlayerRequestSpawnEvent) the PlayerSpawnEvent is called twice.
I have only one player.spawn function, only one event manager, only a
Код:
event.registerHandler(PlayerSpawnEvent.class, (e) -> {
By the way I got this:
Код:
[2016-01-04 14:18:48][INFO][out] net.gtaun.shoebill.object.impl.VehicleImpl@74f035[id=379,isStatic=false,modelId=0]
Код:
if(newState == PlayerState.DRIVER){ Vehicle vid = player.getVehicle(); System.out.println(vid);