I am making a game, which works fine on my personal laptop, but this line of code doesn't compile when on my school computer, receiving the error message "cannot find symbol - variable type"
if(getObjectsInRange(20, InventorySlot.class).get(0).type == this.type)
