Update Packet24MobSpawn.java

Fixed cast to byte for an int field while assigning a value to int b.