9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-23 17:09:19 +00:00

fix(bukkit): 修复三叉戟加载

This commit is contained in:
jhqwqmc
2025-05-23 06:16:44 +08:00
parent 5ce44d6cda
commit 0d41230dd9

View File

@@ -222,7 +222,6 @@ public abstract class CraftEngine implements Plugin {
this.fontManager.delayedInit();
this.vanillaLootManager.delayedInit();
this.advancementManager.delayedInit();
this.projectileManager.delayedInit();
// reload the plugin
try {
this.reloadPlugin(Runnable::run, Runnable::run, true);
@@ -230,6 +229,7 @@ public abstract class CraftEngine implements Plugin {
this.logger.warn("Failed to reload plugin on enable stage", e);
}
// must be after reloading because this process loads furniture
this.projectileManager.delayedInit();
this.worldManager.delayedInit();
this.furnitureManager.delayedInit();
// set up some platform extra tasks