Towny Classic

Towny Classic

3.2k Downloads

TCS revert cannot revert CraftBook sign

KeNickGong opened this issue · 4 comments

commented

What steps will reproduce the problem?

When reverting Capturesite snapshot, sign placed for CraftBook’s gate does not get properly reverted

What is the expected output?

The gate sign should be reverted

Towny version

0.100.2.0

Server version

Spigot 1.18.2

Please use Pastebin.com to link the following files

  1. Your full server startup from the logs\latest.log:
  2. Your Towny config.yml:
  3. Your townyperms.yml:
  4. Your log's error:

(optional) If this is to do with permissions,
5. Your permissions file:

(optional) If this is to do with chat,
6. Your chatconfig.yml:
7. Your channels.yml:

commented

Notes to myself

  • TCS is sending PlotBlockData snapshots to Towny regenerate, those PlotBlockDatas use the internal restoreNextBlock() method which is where all the over should-not-revert blocks are being replaced by air.
commented

I wonder what the output is for /data get block for the sign, if something is added to the sign's PDC then that'd be lost when destroyed & reverted

commented

I believe in this scenario the sign is not reverted at all.

commented

I have managed to replicate this issue, the default towny regen system will skip over blocks which includes signs by default.

Another issue is that when the signs are removed from that ignore-blocks list they will regenerate but with no text.