From 6c59a955b070dcde1b06c00578c8111dad3c91be Mon Sep 17 00:00:00 2001 From: Spottedleaf Date: Fri, 6 Oct 2023 17:53:48 -0700 Subject: [PATCH] Re-add RandomCommand Now that RandomSequences is thread-safe, do not need to disable this command --- patches/server/0003-Threaded-Regions.patch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/patches/server/0003-Threaded-Regions.patch b/patches/server/0003-Threaded-Regions.patch index 2532b99..d693e96 100644 --- a/patches/server/0003-Threaded-Regions.patch +++ b/patches/server/0003-Threaded-Regions.patch @@ -9364,7 +9364,7 @@ index 56ae02aab93b9a698e9d2f07a0448aa4767169d9..4e196b4e7bc8ac6da8d3e61e68bdf461 } diff --git a/src/main/java/net/minecraft/commands/Commands.java b/src/main/java/net/minecraft/commands/Commands.java -index 3eec879bf3975636739b2491cc05b8177032d16d..4f6bd2d88219ac82c4d08c35231e5d3314f87110 100644 +index 3eec879bf3975636739b2491cc05b8177032d16d..3435bdeaf723c64103f7c924ea42a4ec78f2ba01 100644 --- a/src/main/java/net/minecraft/commands/Commands.java +++ b/src/main/java/net/minecraft/commands/Commands.java @@ -146,13 +146,13 @@ public class Commands { @@ -9408,9 +9408,8 @@ index 3eec879bf3975636739b2491cc05b8177032d16d..4f6bd2d88219ac82c4d08c35231e5d33 ParticleCommand.register(this.dispatcher, commandRegistryAccess); PlaceCommand.register(this.dispatcher); PlaySoundCommand.register(this.dispatcher); -- RandomCommand.register(this.dispatcher); + RandomCommand.register(this.dispatcher); - ReloadCommand.register(this.dispatcher); -+ //RandomCommand.register(this.dispatcher); // Folia - region threading + //ReloadCommand.register(this.dispatcher); // Folia - region threading RecipeCommand.register(this.dispatcher); - ReturnCommand.register(this.dispatcher);