From 8633cdc257756ebed0ea7718050978b2f2b23ca4 Mon Sep 17 00:00:00 2001 From: edayot Date: Tue, 7 Jun 2022 13:29:42 +0200 Subject: [PATCH 1/2] bug fix --- data/energy/functions/v1.2/player/modify_energy_2.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/energy/functions/v1.2/player/modify_energy_2.mcfunction b/data/energy/functions/v1.2/player/modify_energy_2.mcfunction index 2cc9f6f..d1a0788 100644 --- a/data/energy/functions/v1.2/player/modify_energy_2.mcfunction +++ b/data/energy/functions/v1.2/player/modify_energy_2.mcfunction @@ -1,5 +1,5 @@ -function energy:v1.2/player/modify_energy_4 +function energy:v1.2/player/modify_energy_3 #loop over inv data remove storage energy:temp list[0] From f806c6cf958012b716d740c57e3fe9bd778c536f Mon Sep 17 00:00:00 2001 From: edayot <35682876+edayot@users.noreply.github.com> Date: Tue, 7 Jun 2022 18:17:15 +0200 Subject: [PATCH 2/2] also this is wrong --- data/energy/functions/v1.2/player/modify_energy_2.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/energy/functions/v1.2/player/modify_energy_2.mcfunction b/data/energy/functions/v1.2/player/modify_energy_2.mcfunction index d1a0788..1654d30 100644 --- a/data/energy/functions/v1.2/player/modify_energy_2.mcfunction +++ b/data/energy/functions/v1.2/player/modify_energy_2.mcfunction @@ -3,4 +3,4 @@ function energy:v1.2/player/modify_energy_3 #loop over inv data remove storage energy:temp list[0] -execute unless score #player.energy energy.data matches 0 if data storage energy:temp list[0] run function energy:v1.2/player/modify_energy_3 +execute unless score #player.energy energy.data matches 0 if data storage energy:temp list[0] run function energy:v1.2/player/modify_energy_2