Prism-Bukkit icon indicating copy to clipboard operation
Prism-Bukkit copied to clipboard

[BUG] /pr undo doesn't work

Open viveleroi opened this issue 5 years ago • 2 comments

Describe the bug /pr undo appears to not work. We do a rollback, then /pr undo and it says "no previous action."

To Reproduce Steps to reproduce the behavior: Perform a rollback and then use /pr undo

Expected behavior The rollback should be "undone"

Screenshots N/A

Server (please complete the following information):

  • Prism Version: 2.1.6
  • Server Type: Paper
  • Server Version: 1.15.2 b312

Additional context N/A

viveleroi avatar May 28 '20 02:05 viveleroi

This is related to #189

Narimm avatar May 28 '20 07:05 Narimm

Basically when a rollback is performed it stores the parent action id in the additional data field of the handler - however the method hasExtraData() for the rollback action was returning false.

There is another bug stopping this as well that I am working on :)

Narimm avatar May 28 '20 07:05 Narimm

This repository is no longer active. You can try to resubmit this at the current Prism repo here https://github.com/prism/PrismRefracted

viveleroi avatar Apr 13 '23 03:04 viveleroi