[BDS-15536] Please modify all BlockLegacy::mayPlace to BlockSource::mayPlace. Created: 03/Oct/21 Updated: 06/Oct/21 Resolved: 06/Oct/21 |
|
| Status: | Resolved |
| Project: | Bedrock Dedicated Server |
| Affects Version/s: | 1.17.30 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | rbw | Assignee: | Unassigned |
| Resolution: | Invalid | Votes: | 6 |
| Labels: | None | ||
| Attachments: |
|
| Confirmation Status: | Unconfirmed |
| Description |
|
I think in the right situation, all actions that destroy blocks should be handled by BlockSource::mayPlace, but some use BlockLegacy::mayPlace. And the latter did not return the Actor pointer, which caused me trouble to write plug-ins. In fact, BlockSource::mayPlace should be used for all destructive behaviors. Please modify it, for BDS, thank you. |
| Comments |
| Comment by Maciej Piornik [ 06/Oct/21 ] |
|
Thank you for your report! This is more of a feature request or suggestion. For suggestions, please visit the Minecraft Feedback Site or choose a link below. Quick Links: |