Fixed NullPointerExceptions occuring when using a hopper with the blocks