How to Fix the Problem:
Open the AdminToggle.cs file using a text editor or an IDE.
Go to line 3299 (you should see effect.Clear();).
Replace it with one of the following:
Option 1 (Recommended):
effect.Clear(false);
This will clean up the effect locally without sending the update to connected players. It is usually sufficient and reduces network load.
Option 2 (Network-wide cleanup):
effect.Clear(true);
This will clean up the effect and broadcast the update to all players. Use this if you need everyone to see the change.
Recommendation:
Use false if you’re unsure, as it’s the safer option and works locally.
Use true only if the effect cleanup needs to be visible to all connected players.
Final Step:
After making the change, reload the plugin or restart the server, and the error should be gone.
Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.