Updated SkillMod.java to work with a map

This commit is contained in:
Treeku
2014-04-03 16:57:51 +01:00
parent 977f18e533
commit f97b23ae5c
+1 -4
View File
@@ -67,12 +67,9 @@ public class SkillMod extends Delta {
@Override
public byte[] getBytes() {
IoBuffer buffer = createBuffer(name.length() + 10);
buffer.put(getAsciiString(name));
IoBuffer buffer = createBuffer(8);
buffer.putInt(base);
buffer.putInt((int) modifier);
return buffer.array();
}