Fixed errors from the Craft.java