Fixed Window placement dupe (#170).

This commit is contained in:
stfwi 2021-03-19 19:11:59 +01:00
parent 3a10a87ac0
commit 4f07f82e01
4 changed files with 7 additions and 3 deletions

View file

@ -5,4 +5,4 @@ version_minecraft=1.16.4
version_forge_minecraft=1.16.4-35.1.10
version_fml_mappings=20201028-1.16.3
version_jei=1.16.4:7.6.1.63
version_engineersdecor=1.1.10
version_engineersdecor=1.1.11

View file

@ -1,6 +1,7 @@
{
"homepage": "https://www.curseforge.com/minecraft/mc-mods/engineers-decor/",
"1.16.4": {
"1.1.11": "[F] Fixed Window placement dupe (issue #170, ty NillerMedDild).",
"1.1.10": "[A] Added Small Lab Furnace config for accepted speed-boost heaters (PR#165, ty mrh0).\n[F] Fixed Labeled Crate mouse scrolling crash (issue #169, ty vaelzan).",
"1.1.9": "[A] Dark Shingle Roof Wire Conduit recipe added.\n[F] Fixed Ladder climbing (affects forge>=36.0.45, issue #167, thx ZED).",
"1.1.8": "[F] Crafting Table Output slot sync rework (issue #138).\n[A] Dark Shingle Roof Wire Conduit added (CFR#347).",
@ -30,7 +31,7 @@
"1.1.2-b1": "[U] Ported to MC1.16.2."
},
"promos": {
"1.16.4-recommended": "1.1.10",
"1.16.4-latest": "1.1.10"
"1.16.4-recommended": "1.1.11",
"1.16.4-latest": "1.1.11"
}
}

View file

@ -11,6 +11,8 @@ Mod sources for Minecraft version 1.16.x.
## Version history
- v1.1.11 [F] Fixed Window placement dupe (issue #170, ty NillerMedDild).
- v1.1.10 [A] Added Small Lab Furnace config for accepted speed-boost heaters (PR#165, ty mrh0).
[F] Fixed Labeled Crate mouse scrolling crash (issue #169, ty vaelzan).

View file

@ -69,6 +69,7 @@ public class EdWindowBlock extends DecorBlock.DirectedWaterLoggable implements I
.with(WATERLOGGED,world.getBlockState(pos.offset(d)).getFluidState().getFluid()==Fluids.WATER);
world.setBlockState(pos.offset(d), st, 1|2);
world.playSound(player, pos, SoundEvents.BLOCK_METAL_PLACE, SoundCategory.BLOCKS, 1f, 1f);
player.getHeldItem(hand).shrink(1);
}
);
return ActionResultType.func_233537_a_(world.isRemote());