Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion paperback.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ if PB_UTIL.config.suits_enabled then
PB_UTIL.register_items(PB_UTIL.ENABLED_SUITS, "content/suit")

-- Register Spectrum poker hand some other Spectrum mods are not installed
if not (next(SMODS.find_mod('Bunco') or next(SMODS.find_mod("SixSuits") or next(SMODS.find_mod("SpectrumFramework"))))) then
if not (
next(SMODS.find_mod('Bunco'))
or next(SMODS.find_mod("SixSuits"))
or next(SMODS.find_mod("SpectrumFramework"))
) then
PB_UTIL.register_items(PB_UTIL.ENABLED_POKER_HANDS, "content/pokerhand")
PB_UTIL.register_items(PB_UTIL.ENABLED_PLANETS, "content/planet")
end
Expand Down