I hope so because I wouldn't know how to change codes to fix it.
Just checking, does my syntax look correct for GD4?
GD3
PlayerInventory.connect("active_item_updated", slots[i], "refresh_style")
GD4
PlayerInventory.active_item_updated.connect(slots[i].refresh_style)