AutoJoin: Bugfix and added treasure pool detection