(Fixed Issue) Some NPCs were no longer identified as scripted (#305)

This commit is contained in:
Arufonsu
2019-01-07 20:44:54 -03:00
committed by Ronan Lana
parent b47dd03a3e
commit 7a2a194aea

View File

@@ -1064,8 +1064,8 @@ public class MaplePacketCreator {
mplew.write(spawnPoint); mplew.write(spawnPoint);
mplew.writeShort(chr.getHp()); mplew.writeShort(chr.getHp());
mplew.writeBool(false); mplew.writeBool(false);
mplew.writeLong(0); // getTime(Server.getInstance().getCurrentTime())? mplew.writeLong(getTime(Server.getInstance().getCurrentTime()));
mplew.skip(ServerConstants.DEBUG_VALUES[0]); mplew.skip(8);
return mplew.getPacket(); return mplew.getPacket();
} }
@@ -1081,8 +1081,8 @@ public class MaplePacketCreator {
mplew.writeBool(true); mplew.writeBool(true);
mplew.writeInt(spawnPosition.x); // spawn position placement thanks to Arnah (Vertisy) mplew.writeInt(spawnPosition.x); // spawn position placement thanks to Arnah (Vertisy)
mplew.writeInt(spawnPosition.y); mplew.writeInt(spawnPosition.y);
mplew.writeLong(0); // getTime(Server.getInstance().getCurrentTime())? mplew.writeLong(getTime(Server.getInstance().getCurrentTime()));
mplew.skip(ServerConstants.DEBUG_VALUES[0]); mplew.skip(8);
return mplew.getPacket(); return mplew.getPacket();
} }