Some code cleaning

This commit is contained in:
2018-12-10 11:28:30 +01:00
parent f62a385eab
commit 254d57d834
9 changed files with 54 additions and 54 deletions

View File

@ -278,7 +278,7 @@ public class AssetEditorPanel extends javax.swing.JPanel {
public boolean save(GodWorld worldadm ){
JSONObject jo = Json.get(this);
System.out.printf("ASSETGETTER: %s\n",jo.toString(5));
if (jo.getString(GodWorld.JKEYS.ASSET_SYMBOL).length()==0){
javax.swing.JOptionPane.showMessageDialog(this, "Symbol must not be empty.",