dont continue after disable call
This commit is contained in:
parent
f90d3ac3f2
commit
da300b2958
@ -77,6 +77,7 @@ public final class VillagerOptimizer extends JavaPlugin {
|
|||||||
logger.warn("To protect your game from corruption, VillagerOptimizer will now disable!");
|
logger.warn("To protect your game from corruption, VillagerOptimizer will now disable!");
|
||||||
logger.warn("Please decide for one of the plugins!");
|
logger.warn("Please decide for one of the plugins!");
|
||||||
getServer().getPluginManager().disablePlugin(this);
|
getServer().getPluginManager().disablePlugin(this);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user