mirror of
https://github.com/Coooookies/Grasscutter-MeaMailPlus.git
synced 2024-11-22 01:25:33 +00:00
commit
f38f456b2c
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.getPlayer().getUid();
|
||||||
|
|
||||||
// 第一次加入
|
// 第一次加入
|
||||||
if(playerUid != 0) {
|
if(playerUid != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user