Skip to content

Conversation

@EpyonProjects
Copy link
Member

Looks like this was incorrectly set from the start. projectile.uuid set from @s UUID cannot work entities cannot have the same UUID. This most likely was meant to set the projectile.Owner (or .owner, in the case of tnt) as to attribute a projectile to the original player. This works for arrows but not for the ones this PR modifies (TNT, fireballs, and wind charges) as those are freshly spawned.

This should address #1037 where moderation tools were not able to log potential grief/pvp cases

@EpyonProjects EpyonProjects added the fix This fixes something that was wrong label Nov 10, 2025
@EpyonProjects EpyonProjects changed the base branch from master to update-1.21.9 November 13, 2025 22:23
@EpyonProjects EpyonProjects changed the base branch from update-1.21.9 to master November 14, 2025 00:01
@EpyonProjects EpyonProjects force-pushed the crossbow-cartridges-1-21-5-ownership-fix branch 2 times, most recently from 8f9493d to ba6e0c6 Compare November 20, 2025 01:18
@misode
Copy link
Member

misode commented Nov 20, 2025

This PR is impossible to review because it has so many unrelated commits. Please rebase or cherry-pick this and select the right base.

@EpyonProjects EpyonProjects force-pushed the crossbow-cartridges-1-21-5-ownership-fix branch from ba6e0c6 to f6d4824 Compare November 21, 2025 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix This fixes something that was wrong

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants