Skip to content

GH-1338 Disable movement check for teleports#1338

Open
CitralFlo wants to merge 3 commits intomasterfrom
move-during-tp
Open

GH-1338 Disable movement check for teleports#1338
CitralFlo wants to merge 3 commits intomasterfrom
move-during-tp

Conversation

@CitralFlo
Copy link
Copy Markdown
Member

Description

Disable movement check for teleports.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Tested option set to true
  • Tested option set to false

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to readme etc.
  • My changes generate no new warnings
  • I have added test to cover my changes
  • I have added appropriate labels to this Pull Request

@CitralFlo CitralFlo self-assigned this Apr 18, 2026
@CitralFlo CitralFlo added the 🔧 enhancement Enhances existing function label Apr 18, 2026
@CitralFlo CitralFlo requested a review from a team as a code owner April 18, 2026 19:29
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a configuration setting to toggle whether player movement cancels a teleportation task. The changes include the addition of TeleportConfig and TeleportSettings, and the integration of these settings into TeleportTask. A suggestion was provided to optimize the movement check in TeleportTask by reordering the conditional logic to leverage short-circuit evaluation.

…leport/TeleportTask.java

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@CitralFlo CitralFlo changed the title Disable movement check for teleports GH-1338 Disable movement check for teleports Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔧 enhancement Enhances existing function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants