dniym/IllegalStack

DisableInWorlds doesnt seem to TripWireDupe check

LogGits opened this issue · 2 comments

Required Information

  • FAVS Version Number (/version IllegalStack): 2.5
  • Spigot/Paper Version Number (/version): git-Paper-134 (MC: 1.19.2)
  • Output of /version:

Describe the bug
DisableInWorlds doesn't apply for tripwire hook dupe protection. Want to disable this in build world. Ideally DisableInWorlds should entirely disable illegalstack protections in that world.

To Reproduce
Steps to reproduce the behavior:

  • add worldname to file.
  • restart
  • place tripwire hook to trigger dupe protection

Checklist:

  • I included all information required in the sections above
  • I made sure there are no duplicates of this report (Use Search)
  • I made sure I am using an up-to-date version of IllegalStack
  • I made sure the bug/error is not caused by any other plugin
dniym commented

Working on a fix for this that should make sure each protection is checked against the disabled world list

dniym commented

Fixed in IllegalStack 2.9
(WARNING) disabling this check if you use a crate key plugin may allow players to dupe your crate keys! You have been warned.