mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-26 09:38:08 -05:00
Fix datapack driven worldgen not working on dedicated servers. Closes #1478
This commit is contained in:
parent
198a96213c
commit
e2961fee74
3 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ plugins {
|
||||||
def ENV = System.getenv()
|
def ENV = System.getenv()
|
||||||
|
|
||||||
class Globals {
|
class Globals {
|
||||||
static def baseVersion = "0.35.0"
|
static def baseVersion = "0.35.1"
|
||||||
static def mcVersion = "1.17"
|
static def mcVersion = "1.17"
|
||||||
static def yarnVersion = "+build.6"
|
static def yarnVersion = "+build.6"
|
||||||
static def loaderVersion = "0.11.3"
|
static def loaderVersion = "0.11.3"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
archivesBaseName = "fabric-registry-sync-v0"
|
archivesBaseName = "fabric-registry-sync-v0"
|
||||||
version = getSubprojectVersion(project, "0.7.9")
|
version = getSubprojectVersion(project, "0.7.10")
|
||||||
|
|
||||||
moduleDependencies(project, [
|
moduleDependencies(project, [
|
||||||
'fabric-api-base',
|
'fabric-api-base',
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class MixinMain {
|
||||||
|
|
||||||
@Redirect(method = "main", at = @At(value = "INVOKE", target = "Lnet/minecraft/util/dynamic/RegistryOps;method_36574(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/registry/DynamicRegistryManager;)Lnet/minecraft/util/dynamic/RegistryOps;"))
|
@Redirect(method = "main", at = @At(value = "INVOKE", target = "Lnet/minecraft/util/dynamic/RegistryOps;method_36574(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/registry/DynamicRegistryManager;)Lnet/minecraft/util/dynamic/RegistryOps;"))
|
||||||
private static RegistryOps<NbtElement> ofRegistryOps(DynamicOps<NbtElement> delegate, ResourceManager resourceManager, DynamicRegistryManager impl) {
|
private static RegistryOps<NbtElement> ofRegistryOps(DynamicOps<NbtElement> delegate, ResourceManager resourceManager, DynamicRegistryManager impl) {
|
||||||
RegistryOps<NbtElement> registryOps = RegistryOps.of(delegate, resourceManager, impl);
|
RegistryOps<NbtElement> registryOps = RegistryOps.method_36574(delegate, resourceManager, impl);
|
||||||
PersistentDynamicRegistryHandler.remapDynamicRegistries((DynamicRegistryManager.Impl) impl, fabric_saveDir);
|
PersistentDynamicRegistryHandler.remapDynamicRegistries((DynamicRegistryManager.Impl) impl, fabric_saveDir);
|
||||||
return registryOps;
|
return registryOps;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue