mirror of
https://github.com/RGBCube/minearchy-bot
synced 2025-07-27 08:57:46 +00:00
Fix error again
This commit is contained in:
parent
120516ef66
commit
1412a2e684
1 changed files with 2 additions and 2 deletions
|
@ -100,10 +100,10 @@ class Miscellaneous(
|
||||||
|
|
||||||
else:
|
else:
|
||||||
for thing, overwrites in channel.overwrites.items():
|
for thing, overwrites in channel.overwrites.items():
|
||||||
parent_overwrites = channel.category.overwrites[thing]
|
parent_overwrites = channel.category.overwrites.get(thing)
|
||||||
|
|
||||||
allows, denies = overwrites.pair()
|
allows, denies = overwrites.pair()
|
||||||
parent_allows, parent_denies = parent_overwrites.pair()
|
parent_allows, parent_denies = parent_overwrites.pair() if parent_overwrites else ((), ())
|
||||||
|
|
||||||
for allow in allows:
|
for allow in allows:
|
||||||
if allow not in parent_allows:
|
if allow not in parent_allows:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue