Make crude storage unit wood material closes #2360
This commit is contained in:
parent
c0a0a3e256
commit
4d38eb934d
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;
|
||||
|
@ -49,7 +50,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