Putting the boat part magic numbers in the Type and Material enums, and fixing a client crash