This commit is contained in:
parent
4548023ca7
commit
9f2a58146a
|
|
@ -14,7 +14,7 @@ elements.change_count = {
|
||||||
canPlace: false,
|
canPlace: false,
|
||||||
behavior: behaviors.SELFDELETE,
|
behavior: behaviors.SELFDELETE,
|
||||||
onSelect: async function() {
|
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) { return }
|
||||||
if (cans == "skin"){settings.randomcount = 10000; settings.skineasteregg = true; settings.sandeasteregg = false; saveSettings(); promptText("skin"); 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}
|
if (cans == "sand"){settings.randomcount = 10000; settings.skineasteregg = false; settings.sandeasteregg = true; saveSettings(); promptText("sand"); return}
|
||||||
|
|
|
||||||
|
|
@ -657,7 +657,7 @@ elements.sculk_wifi_receiver = {
|
||||||
return pixel.channel || "unset"
|
return pixel.channel || "unset"
|
||||||
},
|
},
|
||||||
onSelect: async function(){
|
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
|
channelVar = ans1
|
||||||
},
|
},
|
||||||
tick: function(pixel){
|
tick: function(pixel){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue