Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-08 04:20:06 +01:00
Fixed quickshot.js not reading notes correctly.
Dieser Commit ist enthalten in:
Ursprung
6b5091d9e8
Commit
a59bb3ce46
@ -48,7 +48,7 @@ var pitches = {
|
|||||||
"gb": 12,
|
"gb": 12,
|
||||||
}
|
}
|
||||||
|
|
||||||
function generate(dir) {
|
function generate(dir, notes) {
|
||||||
var sess = context.remember();
|
var sess = context.remember();
|
||||||
|
|
||||||
var origin = player.getBlockOn();
|
var origin = player.getBlockOn();
|
||||||
@ -62,8 +62,6 @@ function generate(dir) {
|
|||||||
|
|
||||||
var length = 4;
|
var length = 4;
|
||||||
|
|
||||||
var notes = [4, 2, 3, 5];
|
|
||||||
|
|
||||||
for (var i = 0; i < notes.length; i++) {
|
for (var i = 0; i < notes.length; i++) {
|
||||||
var note = new NoteBlock();
|
var note = new NoteBlock();
|
||||||
note.setNote(notes[i]);
|
note.setNote(notes[i]);
|
||||||
@ -131,7 +129,7 @@ function main() {
|
|||||||
|
|
||||||
context.print(notes);
|
context.print(notes);
|
||||||
|
|
||||||
generate(dir);
|
generate(dir, notes);
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren