mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
fix nullpointer
Former-commit-id: e64edf7f862293e1d7cfe7dd81aaee25dac7ed2b
This commit is contained in:
1 parent
609b42d5c9
commit
af48e92d91
1 file changed
+1
-1
@@ -128,6 +128,7 @@ public class QuickShop extends JavaPlugin {
|
||||
|
||||
@SuppressWarnings("resource")
|
||||
public void onEnable() {
|
||||
instance = this;
|
||||
if(Util.isDevEdition()) {
|
||||
getLogger().severe("WARNING: You are running QSRR unstable test version");
|
||||
getLogger().severe("WARNING: Keep backup and DO NOT running on production environment!");
|
||||
@@ -158,7 +159,6 @@ public class QuickShop extends JavaPlugin {
|
||||
getLogger().info("Original author:Netherfoam, Timtower, KaiNoMood");
|
||||
getLogger().info("Let's us start load plugin");
|
||||
// NMS.init();
|
||||
instance = this;
|
||||
saveDefaultConfig(); // Creates the config folder and copies config.yml
|
||||
// (If one doesn't exist) as required.
|
||||
reloadConfig(); // Reloads messages.yml too, aswell as config.yml and
|
||||
|
||||
Reference in new issue
Block a user