mirror of
https://github.com/Coooookies/Grasscutter-MeaMailPlus.git
synced 2024-11-22 01:25:33 +00:00
fix issue#9
getPlayerUid ==> getPlayer().getUid()
This commit is contained in:
parent
b774423eaa
commit
74450dd6ad
@ -14,7 +14,7 @@ public class PlayerBornHook extends HandlerSetPlayerBornDataReq {
|
||||
@Override
|
||||
public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
|
||||
super.handle(session, header, payload);
|
||||
int playerUid = session.getAccount().getReservedPlayerUid();
|
||||
int playerUid = session.getPlayer().getUid();
|
||||
|
||||
// 第一次加入
|
||||
if(playerUid != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user