Protect-inventories should use location of inventory-block instead of player location

This commit fixes opening of protected blocks from outside the region