mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-22 10:22:29 +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
|
* Whether buys and sells should be logged in the database
|
||||||
**/
|
**/
|
||||||
public static boolean enableEcomomyLog;
|
public static boolean enableEconomyLog;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether WorldGuard integration should be enabled
|
* Whether WorldGuard integration should be enabled
|
||||||
@ -484,8 +484,8 @@ public class Config {
|
|||||||
enableQualityMode = plugin.getConfig().getBoolean("enable-quality-mode");
|
enableQualityMode = plugin.getConfig().getBoolean("enable-quality-mode");
|
||||||
enableHologramInteraction = plugin.getConfig().getBoolean("enable-hologram-interaction");
|
enableHologramInteraction = plugin.getConfig().getBoolean("enable-hologram-interaction");
|
||||||
enableDebugLog = plugin.getConfig().getBoolean("enable-debug-log");
|
enableDebugLog = plugin.getConfig().getBoolean("enable-debug-log");
|
||||||
enableEcomomyLog = plugin.getConfig().getBoolean("enable-economy-log");
|
enableEconomyLog = plugin.getConfig().getBoolean("enable-economy-log");
|
||||||
cleanupEconomyLogDays = plugin.getConfig().getInt("cleanup-ecomomy-log-days");
|
cleanupEconomyLogDays = plugin.getConfig().getInt("cleanup-economy-log-days");
|
||||||
enableWorldGuardIntegration = plugin.getConfig().getBoolean("enable-worldguard-integration");
|
enableWorldGuardIntegration = plugin.getConfig().getBoolean("enable-worldguard-integration");
|
||||||
enableTownyIntegration = plugin.getConfig().getBoolean("enable-towny-integration");
|
enableTownyIntegration = plugin.getConfig().getBoolean("enable-towny-integration");
|
||||||
enableAuthMeIntegration = plugin.getConfig().getBoolean("enable-authme-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}
|
* @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) {
|
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() {
|
new BukkitRunnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
@ -43,7 +43,7 @@ enable-economy-log: false
|
|||||||
# Sets the time limit for cleaning up the economy log in days.
|
# Sets the time limit for cleaning up the economy log in days.
|
||||||
# All log entries older than this will be deleted on server start.
|
# All log entries older than this will be deleted on server start.
|
||||||
# Set this to 0 in order to disable this feature.
|
# 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.
|
# Set whether a debug log file should be created.
|
||||||
# The file may get large! Please enable this setting when reporting bugs.
|
# The file may get large! Please enable this setting when reporting bugs.
|
||||||
|
Loading…
Reference in New Issue
Block a user