mirror of
https://github.com/Coooookies/Grasscutter-MeaMailPlus.git
synced 2024-11-15 23:59:17 +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
|
@Override
|
||||||
public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
|
public void handle(GameSession session, byte[] header, byte[] payload) throws Exception {
|
||||||
super.handle(session, header, payload);
|
super.handle(session, header, payload);
|
||||||
int playerUid = session.getAccount().getReservedPlayerUid();
|
int playerUid = session.getPlayer().getUid();
|
||||||
|
|
||||||
// 第一次加入
|
// 第一次加入
|
||||||
if(playerUid != 0) {
|
if(playerUid != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user