mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-22 05:12:24 +00:00
Merge pull request #134 from Mitchellbrine/patch-1
Added the tool required to break road lines (Fixes #78)
This commit is contained in:
commit
8321be7a5e
2 files changed
+14
No files matched your search
@@ -9,6 +9,7 @@ import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import com.cricketcraft.chisel.client.render.BlockRoadLineRenderer;
|
||||
import com.cricketcraft.chisel.config.Configurations;
|
||||
|
||||
public class BlockRoadLine extends Block {
|
||||
|
||||
@@ -19,6 +20,9 @@ public class BlockRoadLine extends Block {
|
||||
public BlockRoadLine() {
|
||||
super(Material.circuits);
|
||||
|
||||
if (Configurations.useRoadLineTool) {
|
||||
this.setHarvestLevel(Configurations.getRoadLineTool,roadLineToolLevel);
|
||||
}
|
||||
this.setBlockBounds(0.0f, 0.0f, 0.0f, 1.0f, 0.00390625f, 1.0f);
|
||||
// this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.0625F, 1.0F);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user