Cleanup recipes for plugins in MC >= 1.12
This commit is contained in:
parent
e9e7324e36
commit
c0d76d77f5
7 changed files with 248 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ public class PluginManager {
|
|||
Bukkit.getPluginManager().disablePlugin(plugin);
|
||||
RSimplePluginManager.getPlugins(Bukkit.getPluginManager()).remove(plugin);
|
||||
RSimplePluginManager.removeLookupName(Bukkit.getPluginManager(), plugin.getName());
|
||||
RCraftingManager.removeRecipesFor(plugin);
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
return Result.ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue