Skip to content

Commit

Permalink
props work now!
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-s168 committed Jan 16, 2024
1 parent 749c185 commit 3c762e2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import org.joml.primitives.AABBd
import org.valkyrienskies.core.api.ships.*
import org.valkyrienskies.core.apigame.world.properties.DimensionId
import org.valkyrienskies.core.impl.game.ships.PhysShipImpl
import org.valkyrienskies.mod.common.util.toBlockPos
import org.valkyrienskies.mod.common.util.toJOML
import org.valkyrienskies.tournament.TickScheduler
import org.valkyrienskies.tournament.TournamentConfig
Expand Down Expand Up @@ -90,9 +91,7 @@ class TournamentShips: ShipForcesInducer {
p.touchingWater = water

val be = lvl.getBlockEntity(
Helper3d
.convertShipToWorldSpace(lvl, p.pos.toDouble())
.toBlock()
p.pos.toBlockPos()
) as PropellerBlockEntity?

if (be != null) {
Expand Down

0 comments on commit 3c762e2

Please sign in to comment.