mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Updated SkillMod.java to work with a map
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user