mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-18 08:02:56 -04:00
Merged in M4SS/holocore/170 (pull request #654)
170: Loot message now specifies which corpse the item was looted from
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user