Skip to content

Commit d464ab1

Browse files
committed
Hack fix for FFAPI
This bypasses their Mixin
1 parent b81c42c commit d464ab1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mixins/java/org/spongepowered/common/mixin/core/server/MinecraftServerMixin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,8 @@ public void setDifficulty(final Difficulty difficulty, final boolean force) {
491491
this.impl$serviceProvider.init();
492492

493493
Util.blockUntilDone(e ->
494-
SimpleReloadInstance.create(this.shadow$getResourceManager(), List.of(((ServerFunctionManagerAccessor) this.functionManager).accessor$library()),
495-
Util.backgroundExecutor(), e, CompletableFuture.completedFuture(Unit.INSTANCE), MinecraftServerMixin.LOGGER.isDebugEnabled()).done());
494+
SimpleReloadInstance.of(this.shadow$getResourceManager(), List.of(((ServerFunctionManagerAccessor) this.functionManager).accessor$library()),
495+
Util.backgroundExecutor(), e, CompletableFuture.completedFuture(Unit.INSTANCE)).done());
496496
}
497497
}
498498

0 commit comments

Comments
 (0)