Explorar o código

Merge branch 'master' of github.com:00ll00/LTW3

00ll00 %!s(int64=5) %!d(string=hai) anos
pai
achega
641443fcc7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      data/mini/functions/trade/game/villager_rebirth.mcfunction

+ 1 - 1
data/mini/functions/trade/game/villager_rebirth.mcfunction

@@ -7,7 +7,7 @@ data modify entity @e[type=villager,tag=newVillager,limit=1] Xp set from entity
 data modify entity @e[type=villager,tag=newVillager,limit=1] VillagerData set from entity @s VillagerData
 data modify entity @e[type=villager,tag=newVillager,limit=1] Offers set from entity @s Offers
 # 清理tag
-tag @e[type=villager,tag=newVillager] remove newVillager
+data modify entity @e[type=villager,tag=newVillager,limit=1] Tags set from entity @s Tags
 # 清理旧村民
 execute at @s run tp @s ~ -100 ~
 kill @s