Adjusting name

Adjusting name and added it to the config
This commit is contained in:
Matthew Hinds
2022-10-13 21:27:57 +13:00
parent dd260e7b2a
commit 32f6194a75
3 changed files with 4 additions and 3 deletions

View File

@@ -1966,7 +1966,7 @@ public class Character extends AbstractCharacterObject {
int nxGain = mapitem.getItemId() == ItemId.NX_CARD_100 ? 100 : 250;
this.getCashShop().gainCash(1, nxGain);
if (YamlConfig.config.server.USE_NX_COUPON_LOOT_NOTICE) {
if (YamlConfig.config.server.USE_ANNOUNCE_NX_COUPON_LOOT) {
showHint("You have earned #e#b" + nxGain + " NX#k#n. (" + this.getCashShop().getCash(1) + " NX)", 300);
}
@@ -2018,7 +2018,7 @@ public class Character extends AbstractCharacterObject {
int nxGain = mapitem.getItemId() == ItemId.NX_CARD_100 ? 100 : 250;
this.getCashShop().gainCash(1, nxGain);
if (YamlConfig.config.server.USE_NX_COUPON_LOOT_NOTICE) {
if (YamlConfig.config.server.USE_ANNOUNCE_NX_COUPON_LOOT) {
showHint("You have earned #e#b" + nxGain + " NX#k#n. (" + this.getCashShop().getCash(1) + " NX)", 300);
}
} else if (applyConsumeOnPickup(mItem.getItemId())) {