9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-24 09:29:33 +00:00

Merge pull request #499 from jhqwqmc/dev

修复
This commit is contained in:
XiaoMoMi
2025-12-09 19:34:35 +08:00
committed by GitHub

View File

@@ -114,10 +114,10 @@ public class BukkitCompatibilityManager implements CompatibilityManager {
EventConditions.register(worldGuardRegion, new AlwaysFalseCondition.FactoryImpl<>());
LootConditions.register(worldGuardRegion, new AlwaysFalseCondition.FactoryImpl<>());
}
if (this.isPluginEnabled("Geyser-Spigot")) {
if (this.hasPlugin("Geyser-Spigot")) {
this.hasGeyser = true;
}
if (this.isPluginEnabled("floodgate")) {
if (this.hasPlugin("floodgate")) {
this.hasFloodgate = true;
}
}