Skip to content
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

Added gamemode to CondIsInvulnerable.java #6741

Open
wants to merge 22 commits into
base: dev/feature
Choose a base branch
from

Conversation

JakeGBLP
Copy link

Description

Added gamemode to ConsIsInvulnerable


Target Minecraft Versions: 1.20.6
Requirements: Paper
Related Issues: none

@Moderocky Moderocky added the up for debate When the decision is yet to be debated on the issue in question label May 29, 2024
@Pikachu920
Copy link
Member

tests please!

@Since("2.5, INSERT VERSION (gamemode)")
@RequiredPlugins("Paper 1.20.6+ (gamemodes)")
public class CondIsInvulnerable extends PropertyCondition<Object> {
private static final boolean GAMEMODE = Skript.methodExists(GameMode.class,"isInvulnerable");
Copy link
Member

Choose a reason for hiding this comment

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

missing a space after the comma

Copy link
Member

Choose a reason for hiding this comment

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

can we also name this SUPPORTS_GAMEMODE or something besides just gamemode

JakeGBLP and others added 4 commits June 9, 2024 12:12
Took 8 minutes
# Conflicts:
#	src/test/skript/tests/syntaxes/conditions/CondIsInvulnerable.sk

Took 47 seconds
Took 2 minutes
@JakeGBLP JakeGBLP requested a review from sovdeeth June 11, 2024 15:20
@sovdeeth sovdeeth added enhancement Feature request, an issue about something that could be improved, or a PR improving something. feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. and removed up for debate When the decision is yet to be debated on the issue in question labels Aug 17, 2024
@sovdeeth
Copy link
Member

tests failing due to invalid syntax

@sovdeeth sovdeeth removed the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants