Made booster command add booster and rewrote multiplier to be a double
This commit is contained in:
@@ -12,9 +12,9 @@ public interface Booster {
|
||||
|
||||
void setType(BoosterType boosterType);
|
||||
|
||||
int getMultiplier();
|
||||
double getMultiplier();
|
||||
|
||||
void setMultiplier(int multiplier);
|
||||
void setMultiplier(double multiplier);
|
||||
|
||||
Long getStartingTime();
|
||||
|
||||
|
||||
@@ -178,6 +178,11 @@ public final class Config {
|
||||
pluginMessageChannel = getString("settings.message-channel", pluginMessageChannel);
|
||||
}
|
||||
|
||||
public static long BOOST_ANNOUNCE_CHANNEL = -1;
|
||||
private static void announceChannels() {
|
||||
BOOST_ANNOUNCE_CHANNEL = getLong("settings.boost-announce-channel", BOOST_ANNOUNCE_CHANNEL);
|
||||
}
|
||||
|
||||
public static List<String> donorRanks = new ArrayList<>();
|
||||
private static void loadDonorStuff() {
|
||||
donorRanks = getList("donor.ranks", donorRanks);
|
||||
|
||||
Reference in New Issue
Block a user