mirror of
https://github.com/haselkern/Minecraft-ArmorStand.git
synced 2025-05-18 05:55:35 +00:00
local changes
This commit is contained in:
parent
6bd04f3ead
commit
0891fdd04a
1 changed files with 12 additions and 1 deletions
13
js/main.js
13
js/main.js
|
@ -293,7 +293,18 @@ function handleInput(){
|
|||
rotation = getRangeInput("rotation");
|
||||
xPos = getInput("x-coord");
|
||||
yPos = getInput("y-coord");
|
||||
zPos = getInput("z-coord")
|
||||
zPos = getInput("z-coord");
|
||||
console.log(xPos + "." + yPos + "." + zPos);
|
||||
if (xPos == "") {
|
||||
xPos = "~";
|
||||
}
|
||||
if (yPos == "") {
|
||||
yPos = "~";
|
||||
}
|
||||
if (zPos == "") {
|
||||
zPos = "~";
|
||||
}
|
||||
console.log(xPos + "." + yPos + "." + zPos);
|
||||
updateUI();
|
||||
}
|
||||
function getCheckBoxInput(name){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue