From 2535ecb9172b1e19ff0cfbe104a4f2d5a72dbae6 Mon Sep 17 00:00:00 2001 From: simibubi <31564874+simibubi@users.noreply.github.com> Date: Fri, 30 Jul 2021 21:51:05 +0200 Subject: [PATCH] Attack of the remap - Fixed two ObfucationHelper lookups --- .../create/foundation/gui/mainMenu/CreateMainMenuScreen.java | 2 +- .../java/com/simibubi/create/foundation/ponder/PonderWorld.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/simibubi/create/foundation/gui/mainMenu/CreateMainMenuScreen.java b/src/main/java/com/simibubi/create/foundation/gui/mainMenu/CreateMainMenuScreen.java index 3eed04d2d..a20cf9547 100644 --- a/src/main/java/com/simibubi/create/foundation/gui/mainMenu/CreateMainMenuScreen.java +++ b/src/main/java/com/simibubi/create/foundation/gui/mainMenu/CreateMainMenuScreen.java @@ -51,7 +51,7 @@ public class CreateMainMenuScreen extends AbstractSimiScreen { returnOnClose = true; if (parent instanceof MainMenuScreen) vanillaPanorama = ObfuscationReflectionHelper.getPrivateValue(MainMenuScreen.class, (MainMenuScreen) parent, - "panorama"); + "field_209101_K"); } @Override diff --git a/src/main/java/com/simibubi/create/foundation/ponder/PonderWorld.java b/src/main/java/com/simibubi/create/foundation/ponder/PonderWorld.java index aa659dc95..2bcb2ce3c 100644 --- a/src/main/java/com/simibubi/create/foundation/ponder/PonderWorld.java +++ b/src/main/java/com/simibubi/create/foundation/ponder/PonderWorld.java @@ -76,7 +76,7 @@ public class PonderWorld extends SchematicWorld { // ParticleManager.factories - ATs don't seem to like this one particleFactories = ObfuscationReflectionHelper.getPrivateValue(ParticleManager.class, - Minecraft.getInstance().particleEngine, "providers"); + Minecraft.getInstance().particleEngine, "field_178932_g"); } public void createBackup() {