diff --git a/server/src/main/kotlin/net/horizonsend/ion/server/features/ai/module/debug/VectorDisplay.kt b/server/src/main/kotlin/net/horizonsend/ion/server/features/ai/module/debug/VectorDisplay.kt index c9617660caa..64daa1a66c8 100644 --- a/server/src/main/kotlin/net/horizonsend/ion/server/features/ai/module/debug/VectorDisplay.kt +++ b/server/src/main/kotlin/net/horizonsend/ion/server/features/ai/module/debug/VectorDisplay.kt @@ -47,7 +47,6 @@ class VectorDisplay private constructor( ContextVectorBox(map,binIndex), model, parent, offset) {} fun createEntity(): ItemDisplay { - println("boop2") val entity = CraftItemDisplay( IonServer.server as CraftServer, ItemDisplay(EntityType.ITEM_DISPLAY, parent.world.minecraft) diff --git a/server/src/main/kotlin/net/horizonsend/ion/server/features/starship/Starship.kt b/server/src/main/kotlin/net/horizonsend/ion/server/features/starship/Starship.kt index 95a06bfa6ce..522193d5548 100644 --- a/server/src/main/kotlin/net/horizonsend/ion/server/features/starship/Starship.kt +++ b/server/src/main/kotlin/net/horizonsend/ion/server/features/starship/Starship.kt @@ -410,7 +410,6 @@ class Starship ( fun setDirectControlEnabled(enabled: Boolean) { isDirectControlEnabled = enabled - println("now $enabled") if (enabled) { val dcMessage = text() .append(text("Direct Control: ", NamedTextColor.GRAY)) diff --git a/server/src/main/kotlin/net/horizonsend/ion/server/features/starship/movement/DynamicEstimator.kt b/server/src/main/kotlin/net/horizonsend/ion/server/features/starship/movement/DynamicEstimator.kt index d98ab2fb90e..f1829ef0df5 100644 --- a/server/src/main/kotlin/net/horizonsend/ion/server/features/starship/movement/DynamicEstimator.kt +++ b/server/src/main/kotlin/net/horizonsend/ion/server/features/starship/movement/DynamicEstimator.kt @@ -48,6 +48,7 @@ class DynamicEstimator( if (!needsUpdate) return //dont do matrix operations until data changes needsUpdate = false referenceTime = System.currentTimeMillis() + println("# of movements : ${movements.size}") if (movements.isEmpty()) {//ship hasnt moved in the time interval referncePos = ship.centerOfMass.toVector() coeffMatrix = mk.zeros(numTerms,3) diff --git a/server/src/main/kotlin/net/horizonsend/ion/server/features/starship/movement/TranslateMovement.kt b/server/src/main/kotlin/net/horizonsend/ion/server/features/starship/movement/TranslateMovement.kt index ff95b26a595..3523d0a456f 100644 --- a/server/src/main/kotlin/net/horizonsend/ion/server/features/starship/movement/TranslateMovement.kt +++ b/server/src/main/kotlin/net/horizonsend/ion/server/features/starship/movement/TranslateMovement.kt @@ -102,15 +102,12 @@ class TranslateMovement(starship: ActiveStarship, when (type) { MovementType.MANUAL -> { starship.shiftDynamicEstimator.addData(starship.centerOfMass.toVector(),this) - starship.shiftDynamicEstimator.needsUpdate = true } MovementType.DC -> { starship.shiftDynamicEstimator.addData(starship.centerOfMass.toVector(), this) - starship.shiftDynamicEstimator.needsUpdate = true } MovementType.CRUISE -> { starship.cruiseDynamicEstimator.addData(starship.centerOfMass.toVector(), this) - starship.cruiseDynamicEstimator.needsUpdate = true } else -> {} }