SignShop v4

SignShop v4

992k Downloads

Toggle signs break on use if chunks were unloaded

RoyCurtis opened this issue ยท 0 comments

commented

If the chunks a [Toggle] sign and its lever are in become unloaded, when they are loaded again the Toggle sign will only become usable once before becoming "stuck".

Workaround

By executing /signshop reload, Toggle signs work properly again

Details

  • CraftBukkit version git-Spigot-b73910a-aa92a45 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
  • Server plugins: http://i.imgur.com/QSLUAD0.png
  • SignShop version: 2.9.1Dev (build 68)
  • Vault version: 1.5.2-b33
  • Tested with region, permissions, signshop flags and LWC flags checked
  • ChunkLoadRadius in config.yml is set to 2 (default)

Reproduction

Best reproduced in a location far from spawn or away from forcefully loaded chunks. Ideally on a server with /home and /spawn available

  1. Create a [Toggle] sign and wire it to a lever
  2. Right click the sign a few times. Observe that the lever changes state and SignShop gives feedback in chat.
  3. Teleport at least 20 chunks (320 blocks) away, wait a few seconds, then teleport back. Repeat this step a few times.
  4. Right click the sign once. Observe that the lever changes state and SignShop gives feedback in chat.
  5. Right click the sign a few more times. Observe now that the lever no longer changes, but SignShop is still saying the sign has been toggled.
  6. Execute /signshop reload
  7. Right click the sign a few more times. Observe now that normal behavior has returned.