Skip to content

Fix compatibility with FunnyGuilds plugin v4.14.0 API changes#178

Closed
Copilot wants to merge 1 commit intorenovate/net.dzikoysk.funnyguilds-plugin-4.xfrom
copilot/sub-pr-176
Closed

Fix compatibility with FunnyGuilds plugin v4.14.0 API changes#178
Copilot wants to merge 1 commit intorenovate/net.dzikoysk.funnyguilds-plugin-4.xfrom
copilot/sub-pr-176

Conversation

Copy link
Copy Markdown

Copilot AI commented Dec 31, 2025

FunnyGuilds v4.14.0 changed Guild.getMembers() and Guild.getDeputies() from returning Set<UUID> to Set<User>. This broke compilation of all Skript expressions that accessed guild membership data.

Changes

  • Guild member/deputy expressions: Updated to extract UUIDs from User objects via user.getUUID()
  • Guild owner expressions: Switched from guild.getOwner() (UUID) to guild.getOwner().getUUID()
  • Membership conditions: Updated to use User-based lookup methods (guild.findMember() instead of direct set operations)

Example

// Before (v4.13.0)
Set<UUID> members = guild.getMembers();

// After (v4.14.0)
Set<User> members = guild.getMembers();
UUID uuid = members.stream().map(User::getUUID)...

All expressions maintain backward compatibility for Skript users - they still work with UUIDs and OfflinePlayers as before.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Update dependency net.dzikoysk.funnyguilds:plugin to v4.14.0 Fix compatibility with FunnyGuilds plugin v4.14.0 API changes Dec 31, 2025
Copilot AI requested a review from P3ridot December 31, 2025 22:36
@P3ridot P3ridot closed this Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants