Update Attributes.java

Now working for 1.7.X