From dd746f2800ed374303d740555ae01ebdf1ac085c Mon Sep 17 00:00:00 2001 From: Parnic Date: Sat, 22 Jun 2024 18:14:41 -0500 Subject: [PATCH] Initial TWW compatibility --- Breakables.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Breakables.lua b/Breakables.lua index ebf68d8..06355cf 100644 --- a/Breakables.lua +++ b/Breakables.lua @@ -508,7 +508,11 @@ function Breakables:OnDisable() end function Breakables:OnSlashCommand(input) - InterfaceOptionsFrame_OpenToCategory(self.optionsFrame) + if InterfaceOptionsFrame_OpenToCategory then + InterfaceOptionsFrame_OpenToCategory(self.optionsFrame) + else + Settings.OpenToCategory("Breakables") + end end function Breakables:OnItemReceived(event, bag)