From 9f2a58146a2f673d53a0b6de64a97eb83ee89f88 Mon Sep 17 00:00:00 2001 From: JustAGenericUsername <92590792+JustAGenericUsername@users.noreply.github.com> Date: Tue, 13 May 2025 18:59:37 -0400 Subject: [PATCH] d --- mods/10kelements.js | 2 +- mods/minecraft.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/10kelements.js b/mods/10kelements.js index d325bd03..f449d333 100644 --- a/mods/10kelements.js +++ b/mods/10kelements.js @@ -14,7 +14,7 @@ elements.change_count = { canPlace: false, behavior: behaviors.SELFDELETE, onSelect: async function() { - var cans = _GNPrompt("Please input how many elements you would like to be generared each time.", "10kelements.js is asking you...", 10000); + var cans = await _GNPrompt("Please input how many elements you would like to be generared each time.", "10kelements.js is asking you...", 10000); if (!cans) { return } if (cans == "skin"){settings.randomcount = 10000; settings.skineasteregg = true; settings.sandeasteregg = false; saveSettings(); promptText("skin"); return} if (cans == "sand"){settings.randomcount = 10000; settings.skineasteregg = false; settings.sandeasteregg = true; saveSettings(); promptText("sand"); return} diff --git a/mods/minecraft.js b/mods/minecraft.js index 50171a06..45b3a391 100644 --- a/mods/minecraft.js +++ b/mods/minecraft.js @@ -657,7 +657,7 @@ elements.sculk_wifi_receiver = { return pixel.channel || "unset" }, onSelect: async function(){ - let ans1 = _GNPrompt("What channel should this receiver be? Wont work if you do multiple while paused. (This is meant to be used in machinery!)", "minecraft.js is asking you...", channelVar||0) + let ans1 = await _GNPrompt("What channel should this receiver be? Wont work if you do multiple while paused. (This is meant to be used in machinery!)", "minecraft.js is asking you...", channelVar||0) channelVar = ans1 }, tick: function(pixel){