Pehkui

Pehkui

35M Downloads

[Bug]: /scale operators works with the current value instead of final value

ImSpaceLover opened this issue ยท 0 comments

commented

Minecraft version(s)

1.17.1

Minecraft version details

No response

Mod loader

Fabric

Mod loader version

Fabric loader - 0.11.6

Fabric API version

0.37.2

In what environment did the problem occur?

My singleplayer world

What went wrong? (Crash logs don't go here)

When I'm using /scale operators (add/subtract/multiply/divide) during the scaling, the final value differs from the expected value.
How to reproduce:
1)Set your scale to a small value
/scale divide 16
2)Set scale delay to a bigger number (for example 120)
/scale delay set 120
3)Use any /scale operator once and then use it again halfway through
/scale multiply 4

When I used the exactly same commands I wrote before, I expected to get the starting scale again, but ended up with a smaller scale.

Full list of installed mods

fabric-api-0.37.2+1.17
Pehkui-2.3.0+1.14.4-1.17.1

Did the problem cause the game to crash?

No.

Full crash report contents (if you experienced a crash)

No response