jensvh / litematica-printer

Creative Commons Zero v1.0 Universal
8 stars 2 forks source link

Quick Fix required : CanuseProtocol check #6

Closed aria1th closed 3 years ago

aria1th commented 3 years ago

mc.interactionManager.interactBlock(mc.player, mc.world, hand, hitResult); lastPlaced = new Date().getTime();return ActionResult.SUCCESS; }; Direction facing = fi.dy.masa.malilib.util.BlockUtils .getFirstPropertyFacingValue(stateSchematic); if (facing != null) { FacingData facedata = getFacingData(stateSchematic); if (!CanUseProtocol || !IsBlockSupportedCarpet(stateSchematic.getBlock()) && !canPlaceFace(facedata, stateSchematic, mc.player, primaryFacing, horizontalFacing)) continue;

if (!CanUseProtocol || !IsBlockSupportedCarpet(stateSchematic.getBlock()) &&

this part has to be fixed