mirror of
https://github.com/GTNewHorizons/ThaumicTinkerer.git
synced 2026-10-25 20:32:29 +00:00
FIxed #833, stopped TT Infused seeds planter thinking it knew what to do with vanilla
This commit is contained in:
1 parent
5874de06d7
commit
417e86a4ca
1 file changed
+1
-1
@@ -30,7 +30,7 @@ public class InfusedSeedsPlanter extends PlantableFarmer implements ICompat{
|
||||
|
||||
@Override
|
||||
protected boolean canPlant(World worldObj, BlockCoord bc, IPlantable plantable) {
|
||||
return super.canPlant(worldObj, bc, plantable) || worldObj.getBlock(bc.x,bc.y-1,bc.z)==ThaumicTinkerer.registry.getFirstBlockFromClass(BlockInfusedFarmland.class);
|
||||
return (super.canPlant(worldObj, bc, plantable) && plantable==ThaumicTinkerer.registry.getFirstItemFromClass(ItemInfusedSeeds.class) )|| worldObj.getBlock(bc.x,bc.y-1,bc.z)==ThaumicTinkerer.registry.getFirstBlockFromClass(BlockInfusedFarmland.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user