Let PacketCreator create Packet - initial test

This commit is contained in:
P0nk
2021-08-20 16:11:07 +02:00
parent d8b0929975
commit b5cd6887ae
4 changed files with 26 additions and 20 deletions

View File

@@ -427,7 +427,7 @@ public final class PlayerLoggedinHandler extends AbstractMaplePacketHandler {
npcsIds.put(YamlConfig.config.server.REBIRTH_NPC_ID, "Rebirth");
}
c.announce(PacketCreator.setNPCScriptable(npcsIds));
c.sendPacket(PacketCreator.setNPCScriptable(npcsIds));
}
if (newcomer) player.setLoginTime(System.currentTimeMillis());