Imprex-Development / orebfuscator

Orebfuscator - High-Performance Anti X-Ray plugin
https://modrinth.com/plugin/orebfuscator
GNU General Public License v3.0
119 stars 26 forks source link

Repeated IllegalPluginAccessException on Server Shutdown with Orebfuscator Plugin #338

Closed DimaSergeew closed 7 months ago

DimaSergeew commented 7 months ago

Description

The server consistently encounters an IllegalPluginAccessException during shutdown. This issue arises specifically with the Orebfuscator plugin version 5.4.2-b274. The error indicates that the plugin attempts to register a task while it is disabled. The server operates normally until the shutdown process initiates, at which point these exceptions are repeatedly logged.

Reproduction Steps

  1. Start the server with Orebfuscator plugin version 5.4.2-b274 installed.
  2. Operate the server normally.
  3. Initiate server shutdown.
  4. Observe the logged errors during the shutdown process.

Expected Behaviour

The server should shut down without encountering IllegalPluginAccessExceptions, and the Orebfuscator plugin should not attempt to register new tasks during or after the shutdown process.

Orebfuscator Dump

dump-2023-12-02_10.23.04.json

Extra Details

Ingrim4 commented 7 months ago

Should be fixed with the latest dev build (https://github.com/Imprex-Development/orebfuscator/actions/runs/6991822743).