Fix "Full House" igloo stamp for vanilla clients

This commit is contained in:
Ben 2020-08-04 19:12:22 +01:00
parent 0099ae9da8
commit 82be875d21

View File

@ -300,6 +300,9 @@ async def handle_update_igloo_configuration(p, igloo_id: int, igloo_type_id: int
p.server.cache.delete(f'legacy_igloo.{p.id}') p.server.cache.delete(f'legacy_igloo.{p.id}')
p.server.cache.delete(f'igloo_layouts.{p.id}') p.server.cache.delete(f'igloo_layouts.{p.id}')
if len(furniture_list) >= 99:
await p.add_stamp(p.server.stamps[23])
@handlers.handler(XTPacket('g', 'ur'), client=ClientType.Legacy) @handlers.handler(XTPacket('g', 'ur'), client=ClientType.Legacy)
@handlers.cooldown(1) @handlers.cooldown(1)