mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-06-24 06:03:28 +00:00
![]() When we construct a new ServerPlayerEntity (and thus TurtlePlayer), we get the current (global) advancement state and call .setPlayer() on it. As grantCriterion blocks FakePlayers from getting advancements, this means a player will no longer receive any advancements, as the "wrong" player object is being consulted. As a temporary work around, we attempt to restore the previous player to the advancement store. I'll try to upstream something into Forge to resolve this properly. Fixes #564 |
||
---|---|---|
.. | ||
generated/resources/data/computercraft | ||
main | ||
test |