Hex Casting

Hex Casting

6M Downloads

Casting bypasses FTB Chunks protection

kaipuma opened this issue ยท 3 comments

commented

Playing on a server that uses the Direwolf20 1.18 pack, and I noticed that I could break a block in another person's claim with that spell, even though that's intended to be forbidden by the FTB Chunks mod.

commented

It is also customary for mods to refuse to teleport something or blink someone while in a chunk owned by someone else, to avoid "a flood of invaders" or "blinking through a wall or past an untouchable door".

commented

This would be... difficult to fix. Architectury, for some reason, isn't using the builtin fabric events, which means that our hook - which checks the event as it should - just... doesn't get stopped by their code.

Rather than cancel the event, they instead mix directly into ServerPlayerGameMode, preventing the breaking only if done directly by a player. Which on the one hand, makes sense to a certain extent... but I don't think this is really on us?

commented

Can confirm that's still not fixed, claimed chunks by FTB still can be broken, I'v tested it on official AOF5 servers