This commit is contained in:
parent
3da8d6e324
commit
51ce562ba2
|
|
@ -2,3 +2,6 @@
|
|||
out/
|
||||
MXD-Server.iml
|
||||
配置文件/事件载入.ini
|
||||
配置文件/经验倍数.ini
|
||||
配置文件/捉鬼任务.ini
|
||||
配置文件/坐骑椅子.ini
|
||||
|
|
|
|||
|
|
@ -633,17 +633,17 @@ public class PlayerStats implements Serializable {
|
|||
|
||||
|
||||
sxbl(chra);
|
||||
if (!first_login) {
|
||||
chra.jqxsrw();
|
||||
}
|
||||
dsbbh++;
|
||||
// if (!first_login) {
|
||||
// for (AotuNpc npc : Start.aotuNpcs) {
|
||||
// if (npc.getMapId() == chra.getMapId() && (npc.getItemId() == 0 || chra.haveItem(npc.getItemId())) && (npc.getEquId() == 0 || chra.hasEquipped(npc.getEquId()))) {
|
||||
// Start.executor.schedule(() -> dsnpcfw(chra, npc,dsbbh), npc.getTime(), TimeUnit.MILLISECONDS);
|
||||
// }
|
||||
// }
|
||||
// if (!first_login) {
|
||||
// chra.jqxsrw();
|
||||
// }
|
||||
dsbbh++;
|
||||
if (!first_login) {
|
||||
for (AotuNpc npc : Start.aotuNpcs) {
|
||||
if (npc.getMapId() == chra.getMapId() && (npc.getItemId() == 0 || chra.haveItem(npc.getItemId())) && (npc.getEquId() == 0 || chra.hasEquipped(npc.getEquId()))) {
|
||||
Start.executor.schedule(() -> dsnpcfw(chra, npc,dsbbh), npc.getTime(), TimeUnit.MILLISECONDS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
for (final IItem item2 : chra.getInventory(MapleInventoryType.CASH)) {
|
||||
|
|
|
|||
|
|
@ -482,7 +482,7 @@ public class PacketHelper {
|
|||
mplew.writeUTF8(equip.getdd());
|
||||
mplew.writeUTF8(equip.getdb());
|
||||
mplew.writeUTF8(equip.getqg());
|
||||
mplew.writeUTF8(equip.getqgjs());
|
||||
// mplew.writeUTF8(equip.getqgjs());
|
||||
} else {
|
||||
mplew.writeShort((int) item.getQuantity());
|
||||
mplew.writeMapleAsciiString(item.getOwner());
|
||||
|
|
|
|||
Loading…
Reference in New Issue