[SPIGOT-6667] /schedule function not working correctly in other dimensions Created: 22/Jul/21 Updated: 23/Jul/21 Resolved: 23/Jul/21 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Konrad Kleineidam | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | 1.17.1, DataPacks, Dimensions, functions, schedule | ||
Environment: |
Linux, Ubuntu 18.04 |
Attachments: |
![]() |
Version: | This server is running CraftBukkit version 3198-Spigot-18c71bf-0abf420 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) |
Guidelines Read: | Yes |
Description |
Using /schedule function namespace:path <time> to schedule a datapack function for later execution executes the function immediately, if executed in a dimension other than overworld (tested for nether and a custom generated dimension) This bug apparently already existed in 1.16.1 (see https://bugs.mojang.com/browse/MC-196949)
To replicate, add the attached datapack to your server, reload and go in the overworld dimension. Then execute the command "/function bug:test". |
Comments |
Comment by Marvin Rieple [ 22/Jul/21 ] |
Made a PR for this: craftbukkit#898 |
Comment by Konrad Kleineidam [ 22/Jul/21 ] |
I added a test datapack and instructions to replicate the issue. |
Comment by Marvin Rieple [ 22/Jul/21 ] |
Do you have a test datapack as well as specific steps to reproduce? |