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:
parent
715cc20ffd
commit
ad5dd80462
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue