Просмотр исходного кода

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

00ll00 5 лет назад
Родитель
Сommit
99ffd9d2af
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      data/mini/functions/trade/game/villager_update_trade.mcfunction

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

@@ -2,7 +2,7 @@
 function mini:trade/game/villager_level_up
 
 # 判断空交易
-function mini:trade/game/remove_trade
+execute if entity @s[nbt={Offers:{Recipes:[{uses:2,maxUses:2}]}}] run function mini:trade/game/remove_trade
 
 # 判断是否增加交易
 execute if entity @s[tag=upgradeVillager] run function mini:trade/game/villager_new_trade