Error while compiling Hotel: 'Pool' does not contain a definition for 'GetList' | Line: 1164, Pos: 28

Error while compiling Hotel: 'Pool' does not contain a definition for 'GetList' | Line: 1164, Pos: 28

this ERROR comes after Rust update

Pool.GetList<Item>() and missing list return caused CS0117 (or runtime pool leaks) after Facepunch API change.

Changes (2 locations)

1. ~Line 1164 (payment when entering room)
- Pool.GetList<Item>() replaced with Pool.Get<List<Item>>()
- Added Pool.FreeUnmanaged(ref collect); after use.

2. ~Line 1823 (payment when extending room)
- Pool.GetList<Item>() replaced with Pool.Get<List<Item>>()
- Added Pool.FreeUnmanaged(ref collect); after use.

Hello!
I fix it in some plugins.
Change:

Pool.GetList<ulong>();
to
Pool.Get<List<ulong>>();

Pool.FreeList
to
Pool.FreeUnmanaged