diff --git a/eco-api/src/main/java/com/willfp/eco/core/integrations/antigrief/AntigriefWrapper.java b/eco-api/src/main/java/com/willfp/eco/core/integrations/antigrief/AntigriefWrapper.java index ae07762f..b9b95fb7 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/integrations/antigrief/AntigriefWrapper.java +++ b/eco-api/src/main/java/com/willfp/eco/core/integrations/antigrief/AntigriefWrapper.java @@ -54,6 +54,7 @@ public interface AntigriefWrapper extends Integration { * @param location The location. * @return If player can pick up item. */ - boolean canPickupItem(@NotNull Player player, @NotNull Location location); - + default boolean canPickupItem(@NotNull Player player, @NotNull Location location) { + return true; + } } diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/eco/internal/spigot/EcoSpigotPlugin.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/eco/internal/spigot/EcoSpigotPlugin.kt index 5be2554f..e8ff9d2c 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/eco/internal/spigot/EcoSpigotPlugin.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/eco/internal/spigot/EcoSpigotPlugin.kt @@ -132,20 +132,6 @@ abstract class EcoSpigotPlugin : EcoPlugin( this.logger.info("Ignore messages about deprecated events!") - if (!this.configYml.getBool("enable-bstats")) { - logger.severe("") - logger.severe("----------------------------") - logger.severe("") - logger.severe("Looks like you've disabled bStats!") - logger.severe("This means that information about java version,") - logger.severe("player count, server version, and other data") - logger.severe("isn't able to be used to ensure that support isn't dropped!") - logger.severe("Enable bStats in /plugins/eco/config.yml") - logger.severe("") - logger.severe("----------------------------") - logger.severe("") - } - // Init FIS this.getProxy(FastItemStackFactoryProxy::class.java).create(ItemStack(Material.AIR)).unwrap() }