mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-13 21:04:36 +01:00
Fix emblems for on certain characters
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package emu.nebula.data.resources;
|
package emu.nebula.data.resources;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import emu.nebula.data.BaseDef;
|
import emu.nebula.data.BaseDef;
|
||||||
@@ -61,5 +62,8 @@ public class CharacterDef extends BaseDef {
|
|||||||
public void onLoad() {
|
public void onLoad() {
|
||||||
this.elementType = ElementType.getByValue(this.EET);
|
this.elementType = ElementType.getByValue(this.EET);
|
||||||
this.chats = new ObjectArrayList<>();
|
this.chats = new ObjectArrayList<>();
|
||||||
|
|
||||||
|
// Sort gem slots
|
||||||
|
this.GemSlots = Arrays.stream(this.GemSlots).sorted().toArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user