Carry On

Carry On

112M Downloads

[Forge 1.20.1] Tab-based blacklist doesn't work

lcy0x1 opened this issue ยท 1 comments

commented

Expected Behavior

Blocks blacklisted by carryon:block_blacklist will not be able to be picked up.

Actual Behavior

The block can still be picked up

Steps to Reproduce

Add any tiles in the tag, start game, try to pick it up

Version of Minecraft, Carry On, Forge/Fabric

Minecraft 1.20.1
Forge 47.1.3
Carry On 2.1.2.7

Problem

blocktag is always empty in line

addWithWildcards(forbidden, FORBIDDEN_TILES, BuiltInRegistries.BLOCK, blocktags, FORBIDDEN_TILES_TAGS);

Because it's called before tags are loaded.

commented

This is fixed in more recent versions of 1.20