Workaround for ItemInventory crashing on servers (scala synthetic methods not keeping annotations)