Skip to content

prevent unintended light block manipulation#6601

Merged
kennytv merged 1 commit into
PaperMC:masterfrom
Machine-Maker:fix/light-block
Oct 1, 2021
Merged

prevent unintended light block manipulation#6601
kennytv merged 1 commit into
PaperMC:masterfrom
Machine-Maker:fix/light-block

Conversation

@Machine-Maker
Copy link
Copy Markdown
Member

Fixes #6600

@Machine-Maker Machine-Maker requested review from a team as code owners September 14, 2021 02:10
Comment thread patches/server/0806-prevent-unintended-light-block-manipulation.patch Outdated
@Machine-Maker Machine-Maker force-pushed the fix/light-block branch 2 times, most recently from 64148d9 to c0a4004 Compare September 14, 2021 05:12
Copy link
Copy Markdown
Member

@kennytv kennytv left a comment

Choose a reason for hiding this comment

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

Should probably this instead of the two-part if-else

if (not) return InteractionResult.FAIL;

@kennytv kennytv merged commit f905057 into PaperMC:master Oct 1, 2021
@Machine-Maker Machine-Maker deleted the fix/light-block branch October 1, 2021 14:55
LeonTG pushed a commit to LeonTG/Paper that referenced this pull request May 17, 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.

[Vanilla] Players are able to set the light level of a Light Block even if they shouldn't

4 participants