Add helper ProtectionQuery class for other plugins.
Don't cause item loss when the hopper is destroyed.