Skip to content

Commit 5eff401

Browse files
authored
fix tungsten with other luck sources
1 parent feeba17 commit 5eff401

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

data/tungsten/functions/tick/init.mcfunction

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
execute store result score .new tungsten.uid run attribute @s generic.luck get 1000000000000.5
22
execute store result score .new tungsten.uid.offhand run attribute @s minecraft:generic.luck modifier value get c-0-a455-0-b 1000000000000.5
3+
execute if score .new tungsten.uid matches 2147483647 run function tungsten:tick/check
4+
execute if score .new tungsten.uid matches 2147483647 run return 0
35
scoreboard players operation .new tungsten.uid += .new tungsten.uid.offhand
46
execute unless score .new tungsten.uid = @s tungsten.uid run function tungsten:tick/check
5-
execute if score .new tungsten.uid matches 2147483647 if score @s tungsten.uid matches 2147483647 run function tungsten:tick/check

0 commit comments

Comments
 (0)