Attack of the remap

- Fixed two ObfucationHelper lookups
This commit is contained in:
simibubi 2021-07-30 21:51:05 +02:00
parent 5862e01981
commit 2535ecb917
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ public class CreateMainMenuScreen extends AbstractSimiScreen {
returnOnClose = true; returnOnClose = true;
if (parent instanceof MainMenuScreen) if (parent instanceof MainMenuScreen)
vanillaPanorama = ObfuscationReflectionHelper.getPrivateValue(MainMenuScreen.class, (MainMenuScreen) parent, vanillaPanorama = ObfuscationReflectionHelper.getPrivateValue(MainMenuScreen.class, (MainMenuScreen) parent,
"panorama"); "field_209101_K");
} }
@Override @Override

View file

@ -76,7 +76,7 @@ public class PonderWorld extends SchematicWorld {
// ParticleManager.factories - ATs don't seem to like this one // ParticleManager.factories - ATs don't seem to like this one
particleFactories = ObfuscationReflectionHelper.getPrivateValue(ParticleManager.class, particleFactories = ObfuscationReflectionHelper.getPrivateValue(ParticleManager.class,
Minecraft.getInstance().particleEngine, "providers"); Minecraft.getInstance().particleEngine, "field_178932_g");
} }
public void createBackup() { public void createBackup() {