Botania icon indicating copy to clipboard operation
Botania copied to clipboard

Mana blaster with bore lens lets you break blocks in adventure mode

Open ChiefArug opened this issue 6 months ago • 3 comments

Mod Loader

Forge

Minecraft Version

1.20.1

Botania version

1.20.1-448

Modloader version

47.4.2

Modpack info

No response

The latest.log file

N/A

Issue description

Title says it all. Not sure if this is considered an actual bug or not but reporting anyway.

https://github.com/user-attachments/assets/8f6a199d-dd7e-48ab-b8d8-46a291b37409

Steps to reproduce

No response

Other information

No response

ChiefArug avatar Jun 29 '25 10:06 ChiefArug

Obviously different issue than #4606, but potentially similar cause and/or fix.

TheRealWormbo avatar Jun 29 '25 19:06 TheRealWormbo

In a similar fashion, we should probably check that other burst-related block interactions from a mana gun are run by the game's usual checks for block placement/breaking whether the player is allowed to perform the specific interaction at that location.

TheRealWormbo avatar Jul 26 '25 20:07 TheRealWormbo

Upon further inspection, there seem to be a whole lot of places that may need be hardened against unauthorized block modifications in adventure mode or inside spawn protection radius. The issues go much deeper than simply slapping a check onto the burst lens, as it's technically possible for a player to just disconnect and suddenly the already fired burst is no longer owned by anyone.

I think we will postpone a fix until 1.21.1, sorry.

TheRealWormbo avatar Aug 02 '25 09:08 TheRealWormbo