Skip to content

Commit 9bc0f9d

Browse files
committed
mappings update
1 parent 8ea880c commit 9bc0f9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/fast_reset/client/mixin/ClientMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public abstract class ClientMixin {
1818

1919
@Shadow public abstract void openScreen(Screen screen);
2020

21-
@Inject(method = "method_29607", at=@At("HEAD"))
21+
@Inject(method = "createWorld", at=@At("HEAD"))
2222
public void worldWait(String worldName, LevelInfo levelInfo, RegistryTracker.Modifiable registryTracker, GeneratorOptions generatorOptions, CallbackInfo ci){
2323
this.openScreen(new SaveWorldScreen());
2424
synchronized(Client.saveLock){

src/main/java/fast_reset/client/mixin/GameMenuMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected GameMenuMixin(Text title) {
2626
private static final int bottomRightWidth = 102;
2727

2828
// kill save on the shutdown
29-
@Redirect(method = "initWidgets", at = @At(value = "NEW", target = "net/minecraft/client/gui/widget/ButtonWidget", ordinal=7))
29+
@Redirect(method = "initWidgets", at = @At(value = "NEW", target = "(IIIILnet/minecraft/text/Text;Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)Lnet/minecraft/client/gui/widget/ButtonWidget;", ordinal=7))
3030
private ButtonWidget createExitButton(int defaultX, int defaultY, int defaultWidth, int height, Text message, ButtonWidget.PressAction onPress){
3131
int x = Client.buttonLocation == 2 ? (int) (this.width - (bottomRightWidth * 1.5) - 4) : defaultX;
3232
int y = Client.buttonLocation == 2 ? this.height - 24 : defaultY;

0 commit comments

Comments
 (0)