@@ -35,7 +35,7 @@ class BuiltInSolution {
3535 * @return The reason of error.
3636 */
3737 static BootError databaseError () {
38- return new BootError (QuickShop .instance .getLogger (),
38+ return new BootError (QuickShop .getInstance () .getLogger (),
3939 "Error connecting to the database" ,
4040 "Make sure your database service is running." ,
4141 "Or check the configuration in your config.yml" );
@@ -51,21 +51,21 @@ static BootError econError() {
5151 if (Bukkit .getPluginManager ().getPlugin ("Vault" ) == null
5252 && Bukkit .getPluginManager ().getPlugin ("Reserve" ) == null ) {
5353 // Vault not installed
54- return new BootError (QuickShop .instance .getLogger (),
54+ return new BootError (QuickShop .getInstance () .getLogger (),
5555 "Vault or Reserve is not installed or loaded!" ,
5656 "Make sure you installed Vault or Reserve." );
5757 }
5858 // Vault is installed
5959 if (Bukkit .getPluginManager ().getPlugin ("CMI" ) != null ) {
6060 // Found may in-compatiable plugin
61- return new BootError (QuickShop .instance .getLogger (),
61+ return new BootError (QuickShop .getInstance () .getLogger (),
6262 "No Economy plugin detected, did you installed and loaded them? Make sure they loaded before QuickShop." ,
6363 "Make sure you have an economy plugin hooked into Vault or Reserve." ,
6464 ChatColor .YELLOW + "Incompatibility detected: CMI Installed" ,
6565 "Download CMI Edition of Vault might fix this." );
6666 }
6767
68- return new BootError (QuickShop .instance .getLogger (),
68+ return new BootError (QuickShop .getInstance () .getLogger (),
6969 "No Economy plugin detected, did you installed and loaded them? Make sure they loaded before QuickShop." ,
7070 "Install an economy plugin to get Vault or Reserve working." );
7171 }
0 commit comments