Skip to content

Commit

Permalink
Quick fix for carpets: Allow standing inside/on.
Browse files Browse the repository at this point in the history
This is somewhat incomplete, because players can pass through.
  • Loading branch information
asofold committed Jul 13, 2013
1 parent d8d5992 commit 742e6e3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -36,7 +36,7 @@ public void setupBlockProperties(WorldConfigProvider<?> worldConfigProvider) {

// Carpet
BlockProperties.setBlockProps(171, new BlockProps(BlockProperties.noTool, 0.1f, BlockProperties.secToMs(0.15)));
BlockProperties.setBlockFlags(171, BlockProperties.F_IGN_PASSABLE);
BlockProperties.setBlockFlags(171, BlockProperties.F_GROUND|BlockProperties.F_IGN_PASSABLE|BlockProperties.F_GROUND_HEIGHT);

LogUtil.logInfo("[NoCheatPlus] Added block-info for Minecraft 1.6.1 blocks.");
}
Expand Down

0 comments on commit 742e6e3

Please sign in to comment.