Skip to content

Commit

Permalink
lt error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystalzzzz committed Oct 20, 2023
1 parent 5bf6902 commit a7a1a39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class LightTurretWeaponSubsystem(

override fun autoFire(target: AutoTurretTarget<*>, dir: Vector) {
if (starship.initialBlockCount > 12000) {
// shooter.userError("You can't fire light turrets on a ship larger than 12000 blocks!") no idea how to implement this //
starship.userError("You can't fire light turrets on a ship larger than 12000 blocks!")
return
}
multiblock.shoot(starship.world, pos, face, dir, starship, starship.controller.damager)
Expand Down

0 comments on commit a7a1a39

Please sign in to comment.