mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-11-27 15:33:01 +00:00
Restore replacing block with cable parts (#1654)
This commit is contained in:
1 parent
ac1c412e94
commit
be4e421073
3 files changed
+25
-47
No files matched your search
@@ -108,6 +108,10 @@ public class RendererCable extends AbstractRendererPreview implements IRenderPre
|
||||
|
||||
private boolean handleNullTileEntity(boolean isDense, TileEntity neighborTe, World world, ForgeDirection side,
|
||||
int x, int y, int z) {
|
||||
if (canPlaceBlockAt(world, x, y, z)) {
|
||||
setPreviewOffset(x, y, z, ForgeDirection.UNKNOWN);
|
||||
return true;
|
||||
}
|
||||
setPreviewOffset(x, y, z, side);
|
||||
if (neighborTe instanceof IPartHost partHost) {
|
||||
IPart centerPart = partHost.getPart(ForgeDirection.UNKNOWN);
|
||||
|
||||
Reference in new issue
Block a user