Required Information
2.4.5
git-Purpur-1547 (MC: 1.18.1)*
Describe the bug
Illegal items aren't removed when they are taken from a hotbar and placed right into the offhand.
To Reproduce
Steps to reproduce the behavior:
Download a hotbar.nbt file with illegal items and place it in your Minecraft folder
Open a server with the latest version of IllegalStack on it
Take the item from the hotbar, click "Survival Inventory" (chest icon) to go back into the creative player menu w/ all slots, place in the offhand / shield slot.
Check console to see output that spams a message claiming to have removed the item from the player.
Plugins being used on the server
AnimatedScoreboard, BKCommonLib, Citizens, City, CMI, CMILib, CommandPrompter, CoreProtect, DeluxeMenus, FastAsyncVoxelSniper, FastAsyncWorldEdit (WorldEdit), goBrush, HeadDatabase, IllegalStack, LiteBans, LuckPerms, MineSecure*, My_Worlds, PlaceholderAPI, Plan, PlotSquared, ProtocolLib, SelectionVisualizer, UltraCustomizer, Vault, ViaBackwards, ViaVersion, VoidGen, WorldGuard & additional custom plugins.
Checklist:
[x] I included all information required in the sections above
[x] I made sure there are no duplicates of this report (Use Search)
[x] I made sure I am using an up-to-date version of IllegalStack
[x] I made sure the bug/error is not caused by any other plugin
Required Information 2.4.5 git-Purpur-1547 (MC: 1.18.1)*
Describe the bug Illegal items aren't removed when they are taken from a hotbar and placed right into the offhand.![](https://i.imgur.com/p22t688.png)
To Reproduce Steps to reproduce the behavior:
Plugins being used on the server AnimatedScoreboard, BKCommonLib, Citizens, City, CMI, CMILib, CommandPrompter, CoreProtect, DeluxeMenus, FastAsyncVoxelSniper, FastAsyncWorldEdit (WorldEdit), goBrush, HeadDatabase, IllegalStack, LiteBans, LuckPerms, MineSecure*, My_Worlds, PlaceholderAPI, Plan, PlotSquared, ProtocolLib, SelectionVisualizer, UltraCustomizer, Vault, ViaBackwards, ViaVersion, VoidGen, WorldGuard & additional custom plugins.
Checklist: