Formatting, wording

This commit is contained in:
RedSparr0w 2019-09-22 00:36:13 +12:00
parent 6a8cdc8285
commit c8a90c39cc
3 changed files with 2 additions and 4 deletions

View file

@ -30,7 +30,6 @@ public class GlobalEventManager implements CallBack {
private String currentEvent;
public final GlobalEventManager init() {
try {
getEvents().put("Alchemy hellenistic", 0L);
getEvents().put("Golden retriever", 0L);
@ -39,7 +38,6 @@ public class GlobalEventManager implements CallBack {
getEvents().put("Golden essence", 0L);
getEvents().put("Clone Fest", 0L);
getEvents().put("XP Fever", 0L);
} catch (Exception e) {
e.printStackTrace();
}

View file

@ -184,7 +184,7 @@ public final class NPCDropTables {
if (item.getId() == 995 && player.hasPerk(Perks.COIN_MACHINE) && player.getGlobalData().isEnableCoinMachine() && player.getBank().hasSpaceFor(item)) {
item = new Item(995, (int) (item.getAmount() + (item.getAmount() * 0.25)));
player.getBank().add(item);
player.sendMessage("<col=005F00> " + item.getAmount() + " X Coins were sent to your bank.");
player.sendMessage("<col=3498db> " + item.getAmount() + " coins were sent to your bank.");
return;
}
if (item.hasItemPlugin() && player != null) {

View file

@ -53,7 +53,7 @@ public class PerkCommandPlugin extends CommandPlugin {
case "charmcollector":
case "charm":
if (!player.hasPerk(Perks.CHARM_COLLECTOR) && !player.isAdmin()) {
player.sendMessage("You do not own the coin machine perk.");
player.sendMessage("You do not own the charm collector perk.");
return false;
}
boolean charm = player.getGlobalData().isEnableCoinMachine();