Open GamefactsIG opened 10 months ago
Please fill in the issue template properly and provide your config.yml
Not sure if much can be done about this. If a player has access to the /give and /item commands surely they can be expected to use the offhand? We can listen to the PlayerCommandPreprocessEvent
and try to intercept these commands but that can be flaky and also would only work with the built-in Minecraft commands and not with any other plugins'.
When a player obtains an item through i.e. /give , /i or a as a crate reward with a full inventory, item goes into offhand.
Information
Server Log
config.yml
Problem Description
To Reproduce
Steps to reproduce the behavior: 1. Give yourself a full inventory 2. Give yourself extra items 3. Items will be in offhand ### Expected BehaviourItem should drop on floor due to being blocked
Actual Behaviour
Item goes in offhand