Updated magic number 0 by a more verbose already existing variable "playerWindowId" that references the player inventory window id