Code Cleanup / Reformat

This commit is contained in:
Kam committed 2025-05-20 13:53:26 -04:00
1 parent 800eec4d81
commit 43bc1eb81f
40 files changed
+258 -243

No files matched your search

@@ -18,7 +18,8 @@ public class MagicCycle implements IMagicCycle {
public EnumDiagramLayout layout = EnumDiagramLayout.CIRCULAR;
public HashMap<Integer, MagicAssociation> associations = new HashMap<>();
public MagicCycle(){}
public MagicCycle() {
}
public void readNBT(NBTTagCompound compound) {
id = compound.getInteger("ID");
@@ -93,7 +94,7 @@ public class MagicCycle implements IMagicCycle {
@Override
public void setLayoutType(int layout) {
if(layout < 0 || layout > EnumDiagramLayout.values().length - 1)
if (layout < 0 || layout > EnumDiagramLayout.values().length - 1)
return;
this.layout = EnumDiagramLayout.values()[layout];
}