Skip to content

Commit

Permalink
v1.14.0
Browse files Browse the repository at this point in the history
- Added support for Bone instances being used as `DmgPoint` attachments
  • Loading branch information
Pyseph committed Oct 30, 2022
1 parent 52789a6 commit 84f109f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ClientHandler.client.luau
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function ClientCast.new(Object, RaycastParameters, UniqueId)

local function OnDamagePointAdded(Attachment)
if
Attachment.ClassName == "Attachment"
Attachment:IsA("Attachment")
and Attachment.Name == Settings.AttachmentName
and not DamagePoints[Attachment]
then
Expand Down
2 changes: 1 addition & 1 deletion lib/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ function ClientCast.new(Object, RaycastParameters, NetworkOwner)

local function OnDamagePointAdded(Attachment)
if
Attachment.ClassName == "Attachment"
Attachment:IsA("Attachment")
and Attachment.Name == Settings.AttachmentName
and not DamagePoints[Attachment]
then
Expand Down

0 comments on commit 84f109f

Please sign in to comment.