WingedSeal / jmc

A compiler for JMC (JavaScript-like Minecraft Function), a mcfunction extension language for making Minecraft Datapack
https://jmc.wingedseal.com
MIT License
64 stars 7 forks source link

[BUG] `Advancement.grant()` does not detect advancements #87

Closed TM10YMhp closed 4 months ago

TM10YMhp commented 4 months ago

Describe the bug

when using Advancement.grant(@s, only, story/enter_the_end, minecraft) no advancement found

To Reproduce

  1. use Advancement.grant(@a, only, story/enter_the_end, minecraft)
  2. compile

Expected behavior

Advancement.grant() should detect advancements

Screenshots

advancement_grant

Desktop

WingedSeal commented 4 months ago

fixed in https://github.com/WingedSeal/jmc/commit/dcdc812467ff71b420614f4c39186f9cff40bd0d