Skip to content

Fix OpCreateFluid's check to return the correct message when position is out of ambit#1029

Open
pythonmcpi wants to merge 1 commit intoFallingColors:mainfrom
pythonmcpi:fix_createfluid_check
Open

Fix OpCreateFluid's check to return the correct message when position is out of ambit#1029
pythonmcpi wants to merge 1 commit intoFallingColors:mainfrom
pythonmcpi:fix_createfluid_check

Conversation

@pythonmcpi
Copy link
Copy Markdown
Contributor

Closes #947

The IXplatAbstractions.INSTANCE.isPlacingAllowed() call was also relocated to Spell and set to fail silently to bring behavior in-line with OpConjureBlock, OpIgnite, and OpPlaceBlock (the only other callers of that method).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📋 Backlog

Development

Successfully merging this pull request may close these issues.

OpCreateFluid should use CastingEnvironment.assertPosInRangeForEditing

1 participant