Fixed ship builder no longer teleporting owner to their new ship
This commit is contained in:
parent
759be5fb73
commit
718ce6805f
1 changed files with 2 additions and 6 deletions
|
@ -803,12 +803,8 @@ public class TileEntityShipCore extends TileEntityAbstractShipController impleme
|
|||
return false;
|
||||
}
|
||||
doUpdateParameters(false);
|
||||
if (!isAssemblyValid) {
|
||||
Commons.addChatMessage(entityPlayerMP, new WarpDriveText(Commons.getStyleHeader(), !name.isEmpty() ? name : "ShipCore")
|
||||
.appendSibling(textValidityIssues));
|
||||
return false;
|
||||
}
|
||||
|
||||
// note: ship was just deployed, we assume it's valid instead of delaying while waiting for initial scan
|
||||
// consequently, the security station will probably not be defined yet...
|
||||
final TileEntitySecurityStation tileEntitySecurityStation = getSecurityStation();
|
||||
if ( tileEntitySecurityStation != null
|
||||
&& tileEntitySecurityStation != TileEntitySecurityStation.DUMMY ) {
|
||||
|
|
Loading…
Reference in a new issue