--- a/net/minecraft/gametest/framework/TestEnvironmentDefinition.java
+++ b/net/minecraft/gametest/framework/TestEnvironmentDefinition.java
@@ -132,11 +_,11 @@
             MinecraftServer server = level.getServer();
 
             for (TestEnvironmentDefinition.SetGameRules.Entry<Boolean, GameRules.BooleanValue> entry : this.boolRules) {
-                gameRules.getRule(entry.key()).set(entry.value(), server);
+                gameRules.getRule(entry.key()).set(entry.value(), level); // Paper - per-world
             }
 
             for (TestEnvironmentDefinition.SetGameRules.Entry<Integer, GameRules.IntegerValue> entry : this.intRules) {
-                gameRules.getRule(entry.key()).set(entry.value(), server);
+                gameRules.getRule(entry.key()).set(entry.value(), level); // Paper - per-world
             }
         }
 
@@ -146,11 +_,11 @@
             MinecraftServer server = level.getServer();
 
             for (TestEnvironmentDefinition.SetGameRules.Entry<Boolean, GameRules.BooleanValue> entry : this.boolRules) {
-                gameRules.getRule(entry.key()).setFrom(GameRules.getType(entry.key()).createRule(), server);
+                gameRules.getRule(entry.key()).setFrom(GameRules.getType(entry.key()).createRule(), level); // Paper - per-world
             }
 
             for (TestEnvironmentDefinition.SetGameRules.Entry<Integer, GameRules.IntegerValue> entry : this.intRules) {
-                gameRules.getRule(entry.key()).setFrom(GameRules.getType(entry.key()).createRule(), server);
+                gameRules.getRule(entry.key()).setFrom(GameRules.getType(entry.key()).createRule(), level); // Paper - per-world
             }
         }
 
