Mirror von
https://github.com/TheSilentPro/HeadDB.git
synchronisiert 2024-12-27 11:20:05 +01:00
Bracket style fix.
Dieser Commit ist enthalten in:
Ursprung
7a9b974c77
Commit
85544634b8
@ -31,8 +31,7 @@ public class HeadDB extends JavaPlugin {
|
||||
config = LightningBuilder.fromPath("config.yml", "plugins/HeadDB").createConfig().addDefaultsFromInputStream();
|
||||
playerdata = LightningBuilder.fromPath("playerdata.json", "plugins/HeadDB").createJson();
|
||||
|
||||
if (config.getBoolean("economy.enable"))
|
||||
{
|
||||
if (config.getBoolean("economy.enable")) {
|
||||
Log.debug("Starting economy...");
|
||||
this.economy = this.setupEconomy();
|
||||
if (this.economy == null) {
|
||||
|
@ -226,9 +226,7 @@ public class InventoryUtils {
|
||||
player.sendMessage(String.format("You do not have enough %s to purchase %d x %s.", economy.currencyNamePlural(), amount, description));
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
player.sendMessage(String.format("You purchased %d x %s for free!", amount, description));
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren