Before 5.0.0 stable i was able to player.getInventory().offer(itemStack) but now it always returns FAILURE, even if it will be called directly from PlayerInventory, Hotbar, GridInventory, etc. Now i have to iterate over inventory, look for stack with same type or empty and set() item stack directly in Slot.
Am I doing something wrong? I don’t find this in issuses in github repos, but i do not sure if it is bug or my fault.