mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2025-09-05 20:06:23 +00:00
修复x轴不增加的bug
This commit is contained in:
5
main.py
5
main.py
@ -378,10 +378,7 @@ class midiConvert:
|
||||
for cmd in track:
|
||||
_bytes += __formCMDblk(
|
||||
cmd,
|
||||
(1 if yforward else 0)
|
||||
if ((nowy != 0) and (not yforward))
|
||||
or ((yforward) and (nowy != maxheight))
|
||||
else (3 if zforward else 2),
|
||||
(1 if yforward else 0) if (((nowy != 0) and (not yforward)) or ((yforward) and (nowy != maxheight))) else (3 if zforward else 2) if (((nowz != 0) and (not zforward)) or ((zforward) and (nowz != _sideLength))) else 5,
|
||||
impluse=2,
|
||||
condition=False,
|
||||
needRedstone=False,
|
||||
|
Reference in New Issue
Block a user