[SPIGOT-1755] Command block does not run on empty world Created: 05/Mar/16  Updated: 06/Mar/16  Resolved: 05/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: SpiderRobotMan Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: 1.9, chunks, spigot
Environment:

Spigot 1.9, No Plugins



 Description   

If you attempt to use a fallingsand clock or a fill clock inside of spawn chunks and everyone disconnects from the server or all moves to another world the clock fails to run. It appears to me that spawn chunks stop processing redstone and command blocks when there are no players present in the main world.

How to recreate:
Place a command block in the spawn chunks with this command and then place a redstone_block directly on top. Then simply log out of the server (be sure no one else is online), come back to see the clock has stopped running.

summon FallingSand ~ ~0.5 ~ {Block:redstone_block,Motion:[0.0,0.35,0.0]}

What should happen:
The clock should have continued running while the server was empty, you should re-login to see the clock still triggering.



 Comments   
Comment by md_5 [ 06/Mar/16 ]

Note that this issue actually has nothing to do with spawn chunks. Simply command blocks didn't execute on empty worlds.

Generated at Fri Mar 21 18:15:51 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.