Skip to content

PlayerChangesWorldScriptEvent switches #2721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 3, 2025

Conversation

MC-Samuel
Copy link
Contributor

Was originally marked as a TODO, deprecated usage of the "from" and "to" arguments in the original event trigger line.

@@ -459,6 +459,9 @@ public class BukkitImplDeprecations {
// Added 2025/01/23
public static Warning projectileLaunchedEntityContext = new FutureWarning("projectileLaunchedEntityContext", "'context.entity' in the 'projectile launched' event is deprecated in favor of 'context.projectile'.");

// Added 2025/04/27
public static Warning playerChangesWorldSwitches = new FutureWarning("playerChangesWorldSwitches", "The 'from' and 'to' arguments in the 'player changes world' script event have been deprecated for the 'from' and 'to' switches.");
Copy link
Member

Choose a reason for hiding this comment

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

in favor of, not for

@MC-Samuel MC-Samuel requested a review from mcmonkey4eva April 30, 2025 16:55
@tal5 tal5 merged commit 650c130 into DenizenScript:dev May 3, 2025
1 check passed
@MC-Samuel MC-Samuel deleted the change-world-switches branch May 3, 2025 14:37
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.

3 participants