Added cooldown resets for commands that arent executed

This commit is contained in:
Light2
2013-09-22 18:47:41 +02:00
parent 5ff085adcc
commit 110f8ae237
4 changed files with 33 additions and 11 deletions
+2 -2
View File
@@ -686,7 +686,7 @@ public class SimulationService implements INetworkDispatch {
for(Mesh3DTriangle tri : tris) {
if(ray.intersectsTriangle(tri, distance) != null) {
System.out.println("Collided with " + object.getTemplate() + " X: " + object.getPosition().x + " Y: " + object.getPosition().y + " Z: " + object.getPosition().z);
// System.out.println("Collided with " + object.getTemplate() + " X: " + object.getPosition().x + " Y: " + object.getPosition().y + " Z: " + object.getPosition().z);
return false;
}
@@ -767,7 +767,7 @@ public class SimulationService implements INetworkDispatch {
for(Mesh3DTriangle tri : tris) {
if(ray.intersectsTriangle(tri, distance) != null) {
System.out.println("Collision with: " + cell.name);
// System.out.println("Collision with: " + cell.name);
return false;
}