Fixed PlayClientEffectObjectMessage

This commit is contained in:
Seefo
2014-03-27 18:32:13 -04:00
parent e8c4bc5bc8
commit c1df38b45a
@@ -46,10 +46,19 @@ public class PlayClientEffectObjectMessage extends SWGMessage {
result.putShort((short) 5);
result.putInt(0x8855434A);
result.put(getAsciiString(effectFile));
if(!effectFile.startsWith("clienteffect/holoemote_")) result.putShort((short) 0); // Because waverunner is a dweeb
result.putLong(objectId);
result.put(getAsciiString(commandString));
if(!effectFile.startsWith("clienteffect/holoemote_"))
{
result.putShort((short) 0); // Because waverunner is a dweeb
result.putLong(objectId);
result.put(getAsciiString(commandString));
}
else
{
result.put(getAsciiString(commandString));
result.putLong(objectId);
}
return result.flip();
}