diff --git a/paper/src/main/kotlin/nl/chimpgamer/ultimatemobcoins/paper/hooks/RoseStackerHook.kt b/paper/src/main/kotlin/nl/chimpgamer/ultimatemobcoins/paper/hooks/RoseStackerHook.kt index 9dd38bc..08e8c20 100644 --- a/paper/src/main/kotlin/nl/chimpgamer/ultimatemobcoins/paper/hooks/RoseStackerHook.kt +++ b/paper/src/main/kotlin/nl/chimpgamer/ultimatemobcoins/paper/hooks/RoseStackerHook.kt @@ -53,6 +53,7 @@ class RoseStackerHook(private val plugin: UltimateMobCoinsPlugin) { } fun shouldIgnoreNormalDeathEvent(entity: LivingEntity): Boolean { + if (!hookEnabled) return false val api = RoseStackerAPI.getInstance() val stackedEntity = api.getStackedEntity(entity)