From 571688b3611cff1d93c359c4f6ee175100ca8875 Mon Sep 17 00:00:00 2001 From: Coppertine <37494321+Coppertine@users.noreply.github.com> Date: Wed, 2 Aug 2023 23:33:54 +1000 Subject: [PATCH] unessesary score set even though beet compiles to the same line anyways --- data/b64/functions/math/bitwise/rshift.mcfunction | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/b64/functions/math/bitwise/rshift.mcfunction b/data/b64/functions/math/bitwise/rshift.mcfunction index e900d12..2aad718 100644 --- a/data/b64/functions/math/bitwise/rshift.mcfunction +++ b/data/b64/functions/math/bitwise/rshift.mcfunction @@ -9,8 +9,7 @@ a = score["$a"] b = score["$b"] output = score["$output"] if score var a matches 1.. run function b64:math/bitwise/rshift_sign_prop: - output = a - output = output / pow(2, b) + output = a / pow(2, b) if score var a matches ..-1 run function b64:math/bitwise/rshift_zero_filling_neg: # overflow to clear sign bit a += 2147483647