mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 07:35:47 +00:00
Fix #478 Manual peat bog doesn't replace bog earth
This commit is contained in:
1 parent
433c516166
commit
b08a618baa
2 files changed
+6
-4
No files matched your search
@@ -85,7 +85,7 @@ public class FarmLogicPeat extends FarmLogicWatered {
|
||||
continue;
|
||||
}
|
||||
|
||||
Block block = BlockSoil.getBlockFromItem(occupant.getItem());
|
||||
Block block = Block.getBlockFromItem(occupant.getItem());
|
||||
if (block == null || !(block instanceof BlockSoil)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user