Bug Closed · Resolved

Native trades for villagers doesn't work on Folia

#10125 opened by DezForse 3 days ago

DezForsereported this bug

Hi!

We faced with issue on latest build on Folia, that vallagers-based NPC, which can have trades - doesn't open it. Same NPC works good at Paper 1.21.11.

It doesn't show any issues in console, just ignores the action.

Base setup of current NPC:

TownHallVexelTrader1:
  Template: BaseTrader
  Display: <gold><b>Аркаін Владар
  Disguise: TownHallVexelTrader1
  Options:
    Profession: Librarian
  Trades:
    1:
      Item1: 1 GlobaldropScrollsCompletedScroll
      Result: 1 BronzeCoin
      MaxUses: 9999999
    2:
      Item1: 1 OrangeMatterPetal
      Item2: 5 gray_candle
      Result: 1 GuildExpVexelCommon
      MaxUses: 9999999
    3:
      Item1: 1 GreenMatterPetal
      Item2: 10 green_candle
      Result: 1 GuildExpVexelUncommon
      MaxUses: 9999999
    4:
      Item1: 1 BlueMatterPetal
      Item2: 25 blue_candle
      Result: 1 GuildExpVexelRare
      MaxUses: 9999999
    5:
      Item1: 1 PurpleMatterPetal
      Item2: 36 purple_candle
      Result: 1 GuildExpVexelEpic
      MaxUses: 9999999
    6:
      Item1: 1 YellowMatterPetal
      Item2: 48 yellow_candle
      Result: 1 GuildExpVexelLegendary
      MaxUses: 9999999
    7:
      Item1: 1 RedMatterPetal
      Item2: 64 red_candle
      Result: 1 GuildExpVexelMythical
      MaxUses: 9999999
    8:
      Item1: 3 BronzeCoin
      Result: 1 GuildStashUnlockLicense
      MaxUses: 9999999
    9:
      Item1: 1 GoldCoin
      Result: 1 GuildStashUpgradeLicenseLevel5
      MaxUses: 9999999
    10:
      Item1: 1 GuildExpVexelEpic
      Item2: 1 GlobaldropScrollsCompletedScroll
      Result: 1 FishingReelLibrarian
      MaxUses: 9999999
    11:
      Item1: 1 GuildExpVexelEpic
      Item2: 1 GlobaldropScrollsCompletedScroll
      Result: 1 FishingLineLibrarian
      MaxUses: 9999999
    12:
      Item1: 1 GuildExpVexelEpic
      Item2: 1 GlobaldropScrollsCompletedScroll
      Result: 1 FishingRodBaseLibrarian
      MaxUses: 9999999
    13:
      Item1: 2 CurrencyLuskarAmber
      Result: 1 FishingHookBookTier1
      MaxUses: 9999999
    14:
      Item1: 50 CurrencyLuskarAmber
      Result: 1 FishingHookBookTier2
      MaxUses: 9999999
    15:
      Item1: 2 CurrencyLuskarPrismarine
      Result: 1 FishingHookBookTier3
      MaxUses: 9999999
    16:
      Item1: 1 CurrencyLuskarAmber
      Result: 12 FishingBaitFrogSlime
      MaxUses: 9999999
  Skills:
    - command{c="recipe give <trigger.name> mythiccrucible:recipe_some_recipe_shapeless_shapeless"} @trigger ~onInteract
    - message{m="<caster.name><gold><&co> this is text!"} @trigger ~onInteract


More details you may find at Video: https://streamable.com/d59f0f

Please, check how to fix that, if you have additional questions, please contact me in Discord: @DezForse

Thank you!

Sign in to join the discussion.