Update ServerLoop.java

Not tested because I used the online github editor. But should solve the collision detection problem.