mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-30 00:15:57 -04:00
Fixed #251
This commit is contained in:
@@ -36,7 +36,7 @@ def run(core, actor, target, commandString):
|
||||
return
|
||||
|
||||
effectObj = 'clienteffect/holoemote_' + commandString + '.cef'
|
||||
actor.playEffectObject(effectObj, 'head')
|
||||
actor.playEffectObject(effectObj, 'Head')
|
||||
player.setHoloEmoteUses(player.getHoloEmoteUses() - 1)
|
||||
# TODO: Cooldowns for the holo-emote's
|
||||
return
|
||||
|
||||
@@ -36,7 +36,6 @@ public class PlayClientEffectObjectMessage extends SWGMessage {
|
||||
this.effectFile = effectFile;
|
||||
this.objectId = objectId;
|
||||
this.commandString = commandString;
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -47,8 +46,10 @@ public class PlayClientEffectObjectMessage extends SWGMessage {
|
||||
result.putShort((short) 5);
|
||||
result.putInt(0x8855434A);
|
||||
result.put(getAsciiString(effectFile));
|
||||
result.put(getAsciiString(commandString));
|
||||
result.putShort((short) 0);
|
||||
result.putLong(objectId);
|
||||
result.put(getAsciiString(commandString));
|
||||
|
||||
return result.flip();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user