mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-12-22 17:11:46 +00:00
Add missing return statement to stop the initialization of the plugin if version is not supported
This commit is contained in:
parent
8b0bd54a1d
commit
c74a4e5720
@ -209,6 +209,7 @@ public class ShopChest extends JavaPlugin {
|
||||
getLogger().warning("Server version not officially supported: " + Utils.getServerVersion() + "!");
|
||||
//getLogger().warning("Plugin may still work, but more errors are expected!");
|
||||
getServer().getPluginManager().disablePlugin(this);
|
||||
return;
|
||||
}
|
||||
|
||||
shopUtils = new ShopUtils(this);
|
||||
|
Loading…
Reference in New Issue
Block a user