Vehicles no longer work
LadyCailinBot opened this issue ยท 4 comments
CRAFTBOOK-2231 - Reported by Tehbeard
Minecart blocks no longer work due to .getType() being used to search for mechanism instead of .getTypeId().
This bug has occurred as a result of the re-factoring to remove Material dependency from Vehicles.
Comment by me4502
I thought I'd made it use Integer instead if Material, but I'll look into it again.
Comment by Tehbeard
The issue is that when searching for a mechanism, Map.get(Object key) should be given the Integer id, insead it's given the Material, so it never returns a mechanism.