Delete pointless things

Use Enum.ordinal() to get the dye index(or ID)