Skip to content

Commit

Permalink
Fixed being unable to apply EIO and other mod's glass
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicSquid committed May 18, 2019
1 parent 69f1a17 commit 9f9a243
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public boolean activate(@Nonnull World world, @Nonnull BlockPos pos, @Nonnull IB
Block b = Block.getBlockFromItem(player.getHeldItemMainhand().getItem());
if (b != null && !(b instanceof IEditableBlock) && b != Blocks.AIR) {
IBlockState newState = b.getStateForPlacement(world, pos, side, hitX, hitY, hitZ, player.getHeldItemMainhand().getMetadata(), player);
if (newState != this.state && newState.isFullCube() || b instanceof BlockBreakable) {
if (newState != this.state) {
this.state = newState;
markDirty();
if (!player.capabilities.isCreativeMode && !ConfigManager.freeDecoration) {
Expand Down

0 comments on commit 9f9a243

Please sign in to comment.