mirror of
https://github.com/Coooookies/Grasscutter-MeaMailPlus.git
synced 2024-11-24 09:53:32 +00:00
fix issue#9
getPlayerUid ==> getReservedPlayerUid
This commit is contained in:
parent
c7f009cf2f
commit
b774423eaa
2
pom.xml
2
pom.xml
@ -55,7 +55,7 @@
|
|||||||
<artifactId>Grasscutter-api</artifactId>
|
<artifactId>Grasscutter-api</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
<scope>system</scope>
|
<scope>system</scope>
|
||||||
<systemPath>${basedir}/../Grasscutter/grasscutter-1.1.1-dev.jar</systemPath>
|
<systemPath>${basedir}/../Grasscutter/grasscutter-1.2.3-dev-beb6906.jar</systemPath>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -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().getPlayerUid();
|
int playerUid = session.getAccount().getReservedPlayerUid();
|
||||||
|
|
||||||
// 第一次加入
|
// 第一次加入
|
||||||
if(playerUid != 0) {
|
if(playerUid != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user