This commit is contained in:
JustAGenericUsername 2025-05-13 18:59:37 -04:00
parent 4548023ca7
commit 9f2a58146a
2 changed files with 2 additions and 2 deletions

View File

@ -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}

View File

@ -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){