Don't assume all hoppers are blocks. Fixes BUKKIT-3883

Remapped by Srg2Source from Bukkit/CraftBukkit@1272338bb3a224777d27d1f783d6975847431a6c