Fixed an issue causing block ids to be restricted to byte values instead of shorts.