mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-29 14:12:52 -04:00
Fixed PlayClientEffectObjectMessage
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user