mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-09 20:21:07 +00:00
Fix typos
This commit is contained in:
parent
cfff0b9ce2
commit
1dbf68af9c
@ -163,7 +163,7 @@ public class Config {
|
||||
/**
|
||||
* Whether buys and sells should be logged in the database
|
||||
**/
|
||||
public static boolean enableEcomomyLog;
|
||||
public static boolean enableEconomyLog;
|
||||
|
||||
/**
|
||||
* Whether WorldGuard integration should be enabled
|
||||
@ -484,8 +484,8 @@ public class Config {
|
||||
enableQualityMode = plugin.getConfig().getBoolean("enable-quality-mode");
|
||||
enableHologramInteraction = plugin.getConfig().getBoolean("enable-hologram-interaction");
|
||||
enableDebugLog = plugin.getConfig().getBoolean("enable-debug-log");
|
||||
enableEcomomyLog = plugin.getConfig().getBoolean("enable-economy-log");
|
||||
cleanupEconomyLogDays = plugin.getConfig().getInt("cleanup-ecomomy-log-days");
|
||||
enableEconomyLog = plugin.getConfig().getBoolean("enable-economy-log");
|
||||
cleanupEconomyLogDays = plugin.getConfig().getInt("cleanup-economy-log-days");
|
||||
enableWorldGuardIntegration = plugin.getConfig().getBoolean("enable-worldguard-integration");
|
||||
enableTownyIntegration = plugin.getConfig().getBoolean("enable-towny-integration");
|
||||
enableAuthMeIntegration = plugin.getConfig().getBoolean("enable-authme-integration");
|
||||
|
@ -391,7 +391,7 @@ public abstract class Database {
|
||||
* @param callback Callback that - if succeeded - returns {@code null}
|
||||
*/
|
||||
public void logEconomy(final Player executor, final ItemStack product, final OfflinePlayer vendor, final ShopType shopType, final Location location, final double price, final ShopBuySellEvent.Type type, final Callback<Void> callback) {
|
||||
if (Config.enableEcomomyLog) {
|
||||
if (Config.enableEconomyLog) {
|
||||
new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
@ -43,7 +43,7 @@ enable-economy-log: false
|
||||
# Sets the time limit for cleaning up the economy log in days.
|
||||
# All log entries older than this will be deleted on server start.
|
||||
# Set this to 0 in order to disable this feature.
|
||||
cleanup-ecomomy-log-days: 30
|
||||
cleanup-economy-log-days: 30
|
||||
|
||||
# Set whether a debug log file should be created.
|
||||
# The file may get large! Please enable this setting when reporting bugs.
|
||||
|
Loading…
Reference in New Issue
Block a user