mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 10:06:11 +03:00
12 lines
534 B
Diff
12 lines
534 B
Diff
--- ../src-base/minecraft/net/minecraft/command/CommandGameRule.java
|
|
+++ ../src-work/minecraft/net/minecraft/command/CommandGameRule.java
|
|
@@ -29,7 +29,7 @@
|
|
|
|
public void execute(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException
|
|
{
|
|
- GameRules gamerules = this.getOverWorldGameRules(server);
|
|
+ GameRules gamerules = sender.getEntityWorld().getGameRules();
|
|
String s = args.length > 0 ? args[0] : "";
|
|
String s1 = args.length > 1 ? buildString(args, 1) : "";
|
|
|