diff --git a/startup.lua b/startup.lua index afa9eb4..8175c30 100644 --- a/startup.lua +++ b/startup.lua @@ -135,8 +135,14 @@ if chatBox == nil and config.enableChatboxDebug then config.enableChatboxDebug = false end --- Check iris availability -if gate.getIris() == nil then +-- Check gate type and iris availability +local gateType = gate.getStargateType() + +-- Tollan gates don't have iris support and will crash if checked +if gateType == "sgjourney:tollan_stargate" then + print("Tollan Stargate detected - iris functionality disabled") + config.irisEnabled = false +elseif gate.getIris() == nil then print("Config has Iris enabled, but there is no iris! Disabling Iris") config.irisEnabled = false end