From 3bc1c327bfbc5783a0ccf667075be31d691ce5fc Mon Sep 17 00:00:00 2001 From: Ziggy Date: Sun, 18 Aug 2019 13:37:12 +0200 Subject: [PATCH] 170: Loot message now specifies which corpse the item was looted from --- .../services/gameplay/combat/loot/GrantLootService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/projectswg/holocore/services/gameplay/combat/loot/GrantLootService.java b/src/main/java/com/projectswg/holocore/services/gameplay/combat/loot/GrantLootService.java index fae1faad5..ef3fe285e 100644 --- a/src/main/java/com/projectswg/holocore/services/gameplay/combat/loot/GrantLootService.java +++ b/src/main/java/com/projectswg/holocore/services/gameplay/combat/loot/GrantLootService.java @@ -262,7 +262,7 @@ public final class GrantLootService extends Service { if (item instanceof CreditObject) { onLootedCredits(looter, ((CreditObject) item).getAmount()); } else { - new SystemMessageIntent(player, new ProsePackage("StringId", new StringId("loot_n", "solo_looted"), "TO", itemName)).broadcast(); + new SystemMessageIntent(player, new ProsePackage("StringId", new StringId("spam", "loot_item_self"), "TU", itemName, "TT", getCorpse().getObjectName())).broadcast(); } onLooted(looter, getCorpse()); break;