Re-add RandomCommand

Now that RandomSequences is thread-safe, do not need to disable
this command
This commit is contained in:
Spottedleaf 2023-10-06 17:53:48 -07:00
parent 726cdc39a5
commit 6c59a955b0

View File

@ -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);