if (!world.isRemote && te instanceof TileEntityCrop) {
TileEntityCrop crop = (TileEntityCrop)te;
if (crop.isCrossCrop() || crop.hasPlant()) {
return false;
}
<BUG>AgriSeed seed = SeedRegistry.getInstance().getValue(stack);

if (seed == null || !seed.getPlant().getGrowthRequirement().canGrow(world, pos)) {

return false;
}
boolean res = crop.setSeed(seed);
return res;</BUG>
}

if (!world.isRemote && te instanceof TileEntityCrop) {
TileEntityCrop crop = (TileEntityCrop)te;
if (crop.isCrossCrop() || crop.hasPlant()) {
return false;
