More changes to giving weapons.  Now explicitly log an error if an attribute of index 0 is passed in.