mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-08-13 00:45:11 +09:00
Final manual fixups
This commit is contained in:
@@ -42,7 +42,7 @@ end
|
||||
--- @param options FlyingText.create_above_entity_param
|
||||
function FlyingText.create_above_entity(options)
|
||||
local entity = assert(options.target_entity, "A target entity is required")
|
||||
local bounding_box = entity.bounding_box --[[@as ExpUtil_AABB.Box]]
|
||||
local bounding_box = entity.bounding_box
|
||||
local size_y = bounding_box.left_top.y - bounding_box.right_bottom.y
|
||||
local position = entity.position
|
||||
local offset = options.offset or { x = 0, y = 0 }
|
||||
@@ -64,7 +64,7 @@ end
|
||||
function FlyingText.create_above_player(options)
|
||||
local player = assert(options.target_player, "A target player is required")
|
||||
local entity = player.character; if not entity then return end
|
||||
local bounding_box = entity.bounding_box --[[@as ExpUtil_AABB.Box]]
|
||||
local bounding_box = entity.bounding_box
|
||||
local size_y = bounding_box.left_top.y - bounding_box.right_bottom.y
|
||||
local position = entity.position
|
||||
local offset = options.offset or { x = 0, y = 0 }
|
||||
@@ -86,7 +86,7 @@ end
|
||||
function FlyingText.create_as_player(options)
|
||||
local player = assert(options.target_player, "A target player is required")
|
||||
local entity = player.character; if not entity then return end
|
||||
local bounding_box = entity.bounding_box --[[@as ExpUtil_AABB.Box]]
|
||||
local bounding_box = entity.bounding_box
|
||||
local size_y = bounding_box.left_top.y - bounding_box.right_bottom.y
|
||||
local position = entity.position
|
||||
local offset = options.offset or { x = 0, y = 0 }
|
||||
|
||||
Reference in New Issue
Block a user