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:
Mads Boddum
2019-08-18 13:49:56 +00:00
committed by Obique PSWG
@@ -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;