mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Fix slimy grass being harvestable without silk touch #1164
This commit is contained in:
1 parent
d15c6a5f98
commit
6b6928ec00
1 file changed
+8
@@ -141,4 +141,12 @@ public class SlimeGrass extends MantleBlock
|
||||
else
|
||||
return TinkerTools.craftedSoil;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Item getItemDropped(int metadata, Random random, int p_149650_3_) {
|
||||
if (metadata == 1)
|
||||
return Blocks.dirt.getItemDropped(metadata, random, p_149650_3_);
|
||||
else
|
||||
return ItemSaddle.getItemFromBlock(TinkerTools.craftedSoil);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user