Fix bug with samples not working properly
This commit is contained in:
parent
7ac09c8987
commit
76a9b1005a
1 changed files with 2 additions and 2 deletions
|
|
@ -110,10 +110,10 @@ const makeForm = (usingNewConfig) => {
|
||||||
sampleWrapper.innerHTML = '';
|
sampleWrapper.innerHTML = '';
|
||||||
|
|
||||||
if (type == 'deposit' || type == 'depositBiome') {
|
if (type == 'deposit' || type == 'depositBiome') {
|
||||||
const newInput = components.makePair('ore', true, sampleWrapper);
|
const newInput = components.makePair('sample', true, sampleWrapper);
|
||||||
sampleWrapper.appendChild(newInput);
|
sampleWrapper.appendChild(newInput);
|
||||||
} else if (type == 'depositMulti' || type == 'depositBiomeMulti') {
|
} else if (type == 'depositMulti' || type == 'depositBiomeMulti') {
|
||||||
const newInput = components.makePair('ore', false, sampleWrapper);
|
const newInput = components.makePair('sample', false, sampleWrapper);
|
||||||
sampleWrapper.appendChild(newInput);
|
sampleWrapper.appendChild(newInput);
|
||||||
} else {
|
} else {
|
||||||
alert(`Invalid type: ${type}`);
|
alert(`Invalid type: ${type}`);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue