mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-01 16:12:53 -04:00
Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2
This commit is contained in:
@@ -128,6 +128,10 @@ def run(core, actor, target, commandString):
|
||||
|
||||
if inventory:
|
||||
inventory.add(object)
|
||||
|
||||
elif command == 'spawnobj':
|
||||
pos = actor.getPosition()
|
||||
core.staticService.spawnObject(arg1, actor.getPlanet().getName(), 0, pos.x, pos.y, pos.z, 0, 0)
|
||||
|
||||
elif command == 'unknownAbilityPacket' and arg1:
|
||||
packet = UnknownAbilityPacket(arg1)
|
||||
|
||||
@@ -226,7 +226,7 @@ public class LootService implements INetworkDispatch {
|
||||
// RLS chest effect
|
||||
if (droppedItem.getAttachment("LootItemName").toString().contains("Loot Chest")){
|
||||
|
||||
requester.playEffectObject("appearance/pt_rare_chest.prt", "");
|
||||
lootedObject.playEffectObject("appearance/pt_rare_chest.prt", "");
|
||||
requester.playMusic("sound/rare_loot_chest.snd");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user