diff --git a/src/main/kotlin/com/mineinabyss/blocky/BlockyPlugin.kt b/src/main/kotlin/com/mineinabyss/blocky/BlockyPlugin.kt index 55a11658..524101b1 100644 --- a/src/main/kotlin/com/mineinabyss/blocky/BlockyPlugin.kt +++ b/src/main/kotlin/com/mineinabyss/blocky/BlockyPlugin.kt @@ -69,14 +69,14 @@ class BlockyPlugin : JavaPlugin() { blocky.config.run { if (noteBlocks.isEnabled) { if (!GlobalConfiguration.get().blockUpdates.disableNoteblockUpdates) { - logError("Due to the disable-noteblock-updates being disabled in paper-global.yml, NoteBlock-BlockTypes have been disabled...") - logError("This setting is required for Blocky to function properly.") + blocky.logger.e("Due to the disable-noteblock-updates being disabled in paper-global.yml, NoteBlock-BlockTypes have been disabled...") + blocky.logger.e("This setting is required for Blocky to function properly.") } else listeners(BlockyNoteBlockListener()) } if (tripWires.isEnabled) { if (!GlobalConfiguration.get().blockUpdates.disableTripwireUpdates) { - logError("Due to the disable-tripwire-updates being disabled in paper-global.yml, Wire-BlockTypes have been disabled...") - logError("This setting is required for Blocky to function properly.") + blocky.logger.e("Due to the disable-tripwire-updates being disabled in paper-global.yml, Wire-BlockTypes have been disabled...") + blocky.logger.e("This setting is required for Blocky to function properly.") } else listeners(BlockyWireListener()) } diff --git a/src/main/kotlin/com/mineinabyss/blocky/listeners/BlockyFurnitureListener.kt b/src/main/kotlin/com/mineinabyss/blocky/listeners/BlockyFurnitureListener.kt index 8023c7b4..c7295f83 100644 --- a/src/main/kotlin/com/mineinabyss/blocky/listeners/BlockyFurnitureListener.kt +++ b/src/main/kotlin/com/mineinabyss/blocky/listeners/BlockyFurnitureListener.kt @@ -145,7 +145,7 @@ class BlockyFurnitureListener : Listener { init { if (Plugins.isEnabled("ModelEngine")) { - logSuccess("ModelEngine detected, enabling ModelEngine-Furniture-Interaction Listener!") + blocky.logger.iSuccess("ModelEngine detected, enabling ModelEngine-Furniture-Interaction Listener!") Bukkit.getPluginManager().registerEvents(object : Listener { @EventHandler fun BaseEntityInteractEvent.onModelEngineInteract() {