07-19-2018, 08:11 PM
First of all, the if (false) condition is not doing anything - you are saying that the code in the following block should execute if the expression false evaluates to true which will never happen. What you probably intended to write is if(item == null), which means execute if the item was not found. You will also have to move the whole if instruction between the radar and goto lines (because you can't go to somehing that doesn't exist).