Fix hopper minecarts being able to pull from locked chests

I wrote this before I saw #6 but that version has an unchecked cast that I think will cause a crash when a hopper block pulls from a chest minecart.