From 06d449e6015aed384b8177f4ec042060f775269b Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 14 Feb 2020 21:52:54 +0000 Subject: [PATCH] Moderators can always visit a player igloo --- houdini/handlers/play/igloo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/houdini/handlers/play/igloo.py b/houdini/handlers/play/igloo.py index 13458be..869d323 100644 --- a/houdini/handlers/play/igloo.py +++ b/houdini/handlers/play/igloo.py @@ -380,7 +380,7 @@ async def handle_remove_igloo_map(p): @handlers.handler(XTPacket('g', 'pio'), client=ClientType.Vanilla) async def handle_is_player_igloo_open(p, penguin_id: int): - await p.send_xt('pio', int(penguin_id in p.server.open_igloos_by_penguin_id)) + await p.send_xt('pio', int(penguin_id in p.server.open_igloos_by_penguin_id or p.moderator)) @handlers.handler(XTPacket('g', 'al'), client=ClientType.Vanilla)