From 718ce6805f704c721bb8b94cce0a33a7d0448f4e Mon Sep 17 00:00:00 2001 From: LemADEC Date: Sun, 23 May 2021 22:48:19 +0200 Subject: [PATCH] Fixed ship builder no longer teleporting owner to their new ship --- .../cr0s/warpdrive/block/movement/TileEntityShipCore.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main/java/cr0s/warpdrive/block/movement/TileEntityShipCore.java b/src/main/java/cr0s/warpdrive/block/movement/TileEntityShipCore.java index ba5c8e86..f9e559c9 100644 --- a/src/main/java/cr0s/warpdrive/block/movement/TileEntityShipCore.java +++ b/src/main/java/cr0s/warpdrive/block/movement/TileEntityShipCore.java @@ -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 ) {