Able to change property values for a world
@@ -274,7 +274,7 @@ public void setEnvironment() {
EnvironmentSwitchHandler environmentSwitcher = new EnvironmentSwitchHandler();
context.put(EnvironmentSwitchHandler.class, environmentSwitcher);
- environmentSwitcher.handleSwitchToGameEnvironment(context);
+ environmentSwitcher.handleSwitchToPreviewEnvironment(context, environment);
}
}
