Skip to content

Conversation

@TheMeinerLP
Copy link
Contributor

Proposed changes

Fixes order of plotsquared initialization of plot flag. Previously, the flag was being set before plotsquared was fully initialized, causing it to not work as intended.

Types of changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

  • I have read the CONTRIBUTING.md
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you
did and what alternatives you considered, etc...

@github-actions
Copy link

github-actions bot commented Oct 22, 2025

Unit Test Results

10 tests   10 ✅  2s ⏱️
 3 suites   0 💤
 3 files     0 ❌

Results for commit 4bb34eb.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

🏷️ The publish-pr label was added. The JAR will be attached on next build.

@github-actions
Copy link

📦 A new JAR build is available!
Download the JAR directly

Note: The download link is valid for a limited time and requires GitHub authentication.

@TheMeinerLP TheMeinerLP changed the base branch from beta to main November 3, 2025 08:21
@TheMeinerLP TheMeinerLP marked this pull request as ready for review November 3, 2025 08:21
@TheMeinerLP TheMeinerLP requested a review from a team as a code owner November 3, 2025 08:21
@TheMeinerLP TheMeinerLP requested a review from Copilot November 3, 2025 08:21
@TheMeinerLP
Copy link
Contributor Author

@copilot Approve it if it right here :)

Copy link
Contributor

Copilot AI commented Nov 3, 2025

@TheMeinerLP I've opened a new pull request, #200, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the initialization of PlotSquared support by moving the init() call from the dependency injection provider method to the plugin's onEnable() lifecycle method.

  • Removed the init() call from ExternalSupportModule.providePlotsquaredSupport()
  • Added explicit init() call in AntiRedstoneClockRemastered.onEnable() after injector initialization
  • Added import for PlotsquaredSupport interface in the main plugin class

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
ExternalSupportModule.java Removed init() call from the provider method, moving initialization responsibility outside of dependency injection
AntiRedstoneClockRemastered.java Added PlotsquaredSupport import and explicit init() call in onEnable() to ensure proper initialization timing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TheMeinerLP TheMeinerLP requested a review from Copilot November 3, 2025 08:27
@github-actions
Copy link

github-actions bot commented Nov 3, 2025

📦 A new JAR build is available!
Download the JAR directly

Note: The download link is valid for a limited time and requires GitHub authentication.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TheMeinerLP TheMeinerLP merged commit a59bff9 into main Nov 3, 2025
15 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 5, 2025
# [2.6.0](v2.5.2...v2.6.0) (2025-11-05)

### Bug Fixes

* add temporary workaround for display issue in DisplayActiveClocksCommand ([1cd213a](1cd213a))
* initialize PlotsquaredSupport during plugin startup ([b682802](b682802))
* initialize PlotsquaredSupport during plugin startup ([#195](#195)) ([a59bff9](a59bff9))
* **project:** Triggerbuild ([76e063f](76e063f))
* safely initialize PlotsquaredSupport if present during startup ([4bb34eb](4bb34eb))
* teleport in display command and add 1.21.9 + 1.21.10 for testing (remove useless <arg:4> in crowdin) ([008a34c](008a34c))
* teleport in display command and add 1.21.9 + 1.21.10 for testing… ([#192](#192)) ([0abf127](0abf127))

### Features

* add CycloneDX support and update release process for BOM generation ([ec4d7e7](ec4d7e7))
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

🎉 This PR is included in version 2.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@TheMeinerLP TheMeinerLP moved this from 🏗 In progress to ✅ Done in AntiRedstoneClock-Remastered Roadmap Nov 23, 2025
@TheMeinerLP TheMeinerLP deleted the bugfix/fix-flag-for-plotsquared-support branch November 27, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants