mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-25 18:07:57 +01:00
Quick fix for carpets: Allow standing inside/on.
This is somewhat incomplete, because players can pass through.
This commit is contained in:
parent
d8d5992569
commit
742e6e309c
@ -36,7 +36,7 @@ public class BlocksMC1_6_1 implements BlockPropertiesSetup{
|
|||||||
|
|
||||||
// Carpet
|
// Carpet
|
||||||
BlockProperties.setBlockProps(171, new BlockProps(BlockProperties.noTool, 0.1f, BlockProperties.secToMs(0.15)));
|
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.");
|
LogUtil.logInfo("[NoCheatPlus] Added block-info for Minecraft 1.6.1 blocks.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user