Fixes message killed before seen

Previously the msg was killed so players never saw the error for unable to reach hyperspace from planet.
This commit is contained in:
DraksterAU 2016-02-29 00:42:09 +11:00
parent 715cc20ffd
commit ad5dd80462

View file

@ -470,8 +470,8 @@ public class EntityJump extends Entity {
distance = 0;
if (!isInSpace && !isInHyperSpace) {
String msg = "Unable to reach hyperspace from a planet";
killEntity(msg);
messageToAllPlayersOnShip(msg);
killEntity(msg);
LocalProfiler.stop();
return;
}
@ -1375,4 +1375,4 @@ public class EntityJump extends Entity {
Double.valueOf(posX), Double.valueOf(posY), Double.valueOf(posZ),
Integer.valueOf(ticks));
}
}
}