Error

Discussion in 'Programming' started by BemLo, Jun 16, 2016.

  1. Help! Don't work method from other class!
    if (args[0].equalsIgnoreCase("menu")) {
    Player p = (Player) sender;
    mbGUI.openMainGUI(p);
    return true;
    }
    I import, but dont work! public static give so many errors!
     
  2. Try to create a new instance for classes whenever possible. This will be easier in the end.
     
  3. MiniDigger

    Supporter

    don't abuse static, learn to use oop.