geforkt von Mirrors/HeadDB
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();
|
config = LightningBuilder.fromPath("config.yml", "plugins/HeadDB").createConfig().addDefaultsFromInputStream();
|
||||||
playerdata = LightningBuilder.fromPath("playerdata.json", "plugins/HeadDB").createJson();
|
playerdata = LightningBuilder.fromPath("playerdata.json", "plugins/HeadDB").createJson();
|
||||||
|
|
||||||
if (config.getBoolean("economy.enable"))
|
if (config.getBoolean("economy.enable")) {
|
||||||
{
|
|
||||||
Log.debug("Starting economy...");
|
Log.debug("Starting economy...");
|
||||||
this.economy = this.setupEconomy();
|
this.economy = this.setupEconomy();
|
||||||
if (this.economy == null) {
|
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));
|
player.sendMessage(String.format("You do not have enough %s to purchase %d x %s.", economy.currencyNamePlural(), amount, description));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
player.sendMessage(String.format("You purchased %d x %s for free!", amount, description));
|
player.sendMessage(String.format("You purchased %d x %s for free!", amount, description));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren