prevent spam when turning off custom mode again

This commit is contained in:
Hendrik Leppkes
2008-09-01 15:57:03 +00:00
parent cb5b5dc67d
commit 58f46c261e
+2
View File
@@ -308,6 +308,8 @@ function Bar:InitVisibilityDriver()
table_insert(self.hidedriver, ("[stance:%d]hide"):format(k))
end
end
elseif key == "custom" or key == "customdata" then
-- do nothing
else
Bartender4:Print("Invalid visibility state: "..key)
end