dont continue after disable call

This commit is contained in:
xGinko 2024-08-09 14:43:37 +02:00
parent f90d3ac3f2
commit da300b2958

View File

@ -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 {