Added logic to getAdjacentObjects function so that if the result should be an array, that array still will not have the objects in the center position. This also fixed an error caused when trying to get results as an array.
Added logic to getAdjacentObjects function so that if the result should be an array, that array still will not have the objects in the center position. This also fixed an error caused when trying to get results as an array.

AlexABallWebDev/screeps-scripts,AlexABallWebDev/screeps-scripts