mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-21 09:02:07 -07:00
Formatting, wording
This commit is contained in:
parent
6a8cdc8285
commit
c8a90c39cc
3 changed files with 2 additions and 4 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue