Make crude storage unit wood material closes #2360
This commit is contained in:
parent
f02a156c8a
commit
80cc130330
1 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
|||
package techreborn.blocks.storage.item;
|
||||
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.block.Material;
|
||||
import net.minecraft.block.entity.BlockEntity;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.item.Item;
|
||||
|
@ -50,7 +51,7 @@ public class StorageUnitBlock extends BlockMachineBase {
|
|||
public final TRContent.StorageUnit unitType;
|
||||
|
||||
public StorageUnitBlock(TRContent.StorageUnit unitType) {
|
||||
super();
|
||||
super((Settings.of(unitType.name.equals("crude") ? Material.WOOD : Material.METAL).strength(2.0F, 2.0F)));
|
||||
this.unitType = unitType;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue