Mojira Archive
MCM-1284

schedule no longer runs functions from the entity that executed them

Partner Rank:

 1

Partner Team Reporting:

Jigarbov Productions

Verification builds:

1.16.210.55 (couldn't test earlier versions because animation controllers were broken)

Summary:

schedule no longer runs functions from the entity that executed them

Impact:

Completely breaks Simburbia irreversibly and will result in millions of peoples maps being broken.

Repro Steps:

Start up a fresh copy of Simburbia from the Minecraft Marketplace and unlock creator settings and enable cheats before starting the map. 

  1. tart the map
  2. talk to advisor
  3. talk to advisor
  4. bulldoze spring
  5. talk to advisor
  6. do "tag @s add debug"
  7. zone power plant

Observed Results:

The power lines will not be created when the power plant is placed. Looking at the debug commands you can see the following. This is due to commands like this 
execute @s ~ ~ ~ detect ~ 50 ~ concrete 1 execute @s ~ ~ ~ detect ~ 51 ~ concrete 1 execute @e[type=jig:simb_plot,name=p11] ~ ~ ~ schedule on_area_loaded add ~ ~ ~ ~ ~ ~ simb/calc/energy_get
running the function from the server instead of from the entity that ran them as they did in 1.16.100 and 1.16.200

Expected Results:

When a function is scheduled from an execute, it should run the function from the entity that scheduled it as it did in 1.16.100 and 1.16.200. When working correctly, the power lines will appear and the following text can be seen in the chat when using the same repro steps.

Screenshots/Videos attached:
Screenshots above, full repro steps video here: https://www.youtube.com/watch?v=LLXnK5EPT08

Regression Builds:

1.16.100.04 - 1.16.201.01

Notes:

This command left experimental in 100 or 200, so the behaviour is expected to not have changed for 210.

Fixed

jigar frobozz

2021-01-13, 10:39 PM

2021-03-05, 08:24 PM

2021-03-05, 08:24 PM

0

1

Future Release

-