mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 20:24:30 +00:00
Proper Reformating
This commit is contained in:
1 parent
ce75880aba
commit
180d257024
1179 files changed
+59847
-61583
No files matched your search
@@ -261,12 +261,14 @@ public class GuiNPCMagic extends GuiNPCInterface2 implements IScrollData, ICusto
|
||||
try {
|
||||
float split = Float.parseFloat(textField.getText());
|
||||
npcMagicData.getMagic(id).split = split;
|
||||
} catch (NumberFormatException e) { }
|
||||
} catch (NumberFormatException e) {
|
||||
}
|
||||
} else if (textField.id == 74) {
|
||||
try {
|
||||
float bonus = Float.parseFloat(textField.getText());
|
||||
npcMagicData.getMagic(id).damage = bonus;
|
||||
} catch (NumberFormatException e) { }
|
||||
} catch (NumberFormatException e) {
|
||||
}
|
||||
}
|
||||
save();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user