9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-25 01:49:30 +00:00
This commit is contained in:
jhqwqmc
2025-12-09 19:32:24 +08:00
parent 6793aa7b92
commit 632ca81963

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;
}
}